Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent a Hash change triggered scroll from triggering hash recalculation #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Prevent a Hash change triggered scroll from triggering hash recalculation #22

wants to merge 1 commit into from

Conversation

tiagoroldao
Copy link

@tiagoroldao tiagoroldao commented Sep 30, 2017

Fixes #23

@tiagoroldao tiagoroldao changed the title Added forcedScroll to prevent a hash change triggered event from then… Prevent a Hash change triggered scroll from triggering hash recalculation Sep 30, 2017
@maxvrancken
Copy link

I don't think this has been updated in the npm module. The module states that the files are up to date but this forced scroll change does not exist in the code and the hash recalculation is still occurring. Also the code in Manager.js, ScrollableAnchor.js, and index.js are wildly different to the code in the git repo

@tiagoroldao
Copy link
Author

I'm not sure I follow. forcedScroll was added to stop hash recalculation, so it is normal that it does occur, precisely because forcedScroll isn't there (either in this repo or in the npm module).

@tomca32
Copy link

tomca32 commented Jan 31, 2018

What is the problem with merging this? It fixes a pretty critical bug, in my opinion.

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.

3 participants