Skip to content

Adds autoUpdateAnchorHash option, default to true#70

Open
mendes5 wants to merge 3 commits intogabergg:masterfrom
mendes5:master
Open

Adds autoUpdateAnchorHash option, default to true#70
mendes5 wants to merge 3 commits intogabergg:masterfrom
mendes5:master

Conversation

@mendes5
Copy link

@mendes5 mendes5 commented Feb 4, 2020

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, so you can configure it when calling the configureAnchors function.

While this PR isn't merged our team will be using @fernando-msj/react-scrollable-anchor.

@leon-marzahn
Copy link

I've added a version of this library to my library collection that has some added improvements already, for example this one.

https://www.npmjs.com/package/@marzahn-dev/react-scroll-anchor
https://github.com/leon-marzahn/marzahn-dev/tree/main/libs/react/scroll-anchor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants