gabergg / react-scrollable-anchor

Smooth scrolling anchors bound to URL hash
MIT License
291 stars 90 forks source link

Option to disable automatic URL hash updates #32

Open spik3s opened 6 years ago

spik3s commented 6 years ago

In some projects I need anchor links with scrolling but without automatic URL hash updates. I think it would be useful to make the URL hash updates optional

rednap commented 5 years ago

added scrollUrlHashUpdate:false to configureAnchors and it still changes as i scroll. was this feature actually added? what am i missing?

FinnGu commented 5 years ago

added scrollUrlHashUpdate:false to configureAnchors and it still changes as i scroll. was this feature actually added? what am i missing?

@spik3s only added the feature to his fork. You can either use his fork directly or apply the changes to your own fork. I don't think this repository is actively maintained, so this feature is probably never making it into the library itself.