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

How to respond to user's scrolling #354

Open
hanayashiki opened this issue Feb 26, 2022 · 2 comments
Open

How to respond to user's scrolling #354

hanayashiki opened this issue Feb 26, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@hanayashiki
Copy link

Is your feature request related to a problem? Please describe.
When the user is scrolling across sections, the hash might become stale because it no longer reflects where the user is viewing

Describe the solution you'd like
Add an option to APIs like HashScroll to observe its "visibility". When the user is scrolling and the component becomes visible from invisible, the hash can change to that hash.

Describe alternatives you've considered
Ignore this problem, maybe

Additional context
No

@hanayashiki hanayashiki added the enhancement New feature or request label Feb 26, 2022
@github-actions
Copy link

Thank you for contributing to React Hash Scroll!

@YashTotale YashTotale self-assigned this Jul 19, 2022
@YashTotale
Copy link
Owner

Thank you for this feature request, @hanayashiki. This is a great recommendation; unfortunately, I do not have much time right now (college just started), so it will likely take me a while to implement this. Feel free to give it a try yourself as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants