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

alwaysVisible doesn't dynamically update #7

Open
madeleineostoja opened this issue Apr 1, 2022 · 2 comments
Open

alwaysVisible doesn't dynamically update #7

madeleineostoja opened this issue Apr 1, 2022 · 2 comments

Comments

@madeleineostoja
Copy link

Thanks for the excellent scrollbar library!

One minor issue, alwaysVisible doesn't seem to update when its value changes after the scrollbar has mounted/initialised.

Use-case for this: I want to show scrollbars when scrolling is available (ie: if inner content height > container height) but hide them when scrolling isn't available.

#4 would be another reasonable solution to this use-case, namely being that I need to give users some indication that a container is scrollable without them initiating a scroll.

@daylilyfield
Copy link
Owner

@madeleineostoja thank you for your issue. i fixed this issue and i have just released new version. please try it if you are interested. thank you.

@madeleineostoja
Copy link
Author

Thanks for the rapid fix! I'll reimplement today and confirm it's working :)

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

No branches or pull requests

2 participants