react-scrollable-anchor
react-scrollable-anchor copied to clipboard
Smooth scrolling anchors bound to URL hash
My entire app is this: ```es6 import React from 'react' import ReactDOM from 'react-dom' import Photo from '../components/photo' import {createClient} from 'contentful' import ScrollableAnchor from 'react-scrollable-anchor' // import { configureAnchors...
I have the need to configure the library to not automatically update the URL hash during scroll events, the library currently doesn't support this. This PR adds the `autoUpdateAnchorHash` option,...
closes #48
closes #47
when using with a simple function component as follow: ``` FAQ ``` ``` const BlockTitle = ({ children, ...props }) => { const classes = useStyles() return ( {children} )...
I was wondering if this is something to be concerned about? Looks like this content could be upgraded to use the more up to date ref mechanisms listed here: https://reactjs.org/link/strict-mode-string-ref
Addresses issue [4](https://github.com/gabergg/react-scrollable-anchor/issues/4) by building upon [pull 37](https://github.com/gabergg/react-scrollable-anchor/pull/37) See example 5 [here](https://dbramwell.github.io/react-scrollable-anchor/) Edit: I've now pushed a release of this into a branch on my github fork. Hopefully this will...
A user should still be able to use an anchor link if they are viewing the anchor's respective section. For starters, this is especially useful if it's a very long...
Hello, So i'm trying to use Scrollable Anchor on a link in the navbar to scroll down to an anchor on the homepage. It's working perfectly when i'm on the...