Skip to content

Losing active scroll when dragging the scrollbar #7

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

Closed
patrick-hurley opened this issue Aug 22, 2024 · 3 comments · Fixed by #8
Closed

Losing active scroll when dragging the scrollbar #7

patrick-hurley opened this issue Aug 22, 2024 · 3 comments · Fixed by #8
Assignees
Labels
bug Something isn't working

Comments

@patrick-hurley
Copy link
Contributor

Hi there, firstly thank you for creating this repo it's really useful!

I've noticed that once you click an anchor link, and then try to drag the scrollbar using a 'click and drag' with your mouse, the active link doesn't update anymore when you're scrolling the page. It starts behaving correctly again if you then click another link, or use a mouse wheel or touchpad drag instead. I can reproduce this on the demo page, as well as on my own integration.

Reproduced on Mac using Chrome and Firefox. Interestingly on Firefox the issue only occurs if the content has scrolled fully to the start or end of the page.

@smastrom smastrom self-assigned this Aug 22, 2024
@smastrom
Copy link
Owner

xHi @patrick-hurley, sorry but I cannot reproduce this:

and then try to drag the scrollbar using a 'click and drag' with your mouse

Can you please capture a screen recording using the Demo website?

@patrick-hurley
Copy link
Contributor Author

patrick-hurley commented Aug 22, 2024

Hi @smastrom. Sure, here's a video recording on Mac with Chrome.

Screen.Recording.2024-08-22.at.14.10.44.1.mov

@smastrom smastrom added the bug Something isn't working label Aug 22, 2024
@smastrom
Copy link
Owner

Thank you, I'll release a fix soon.

@smastrom smastrom linked a pull request Sep 5, 2024 that will close this issue
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants