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

Arrow keys always move scrollbar #204

Open
partap opened this issue Oct 9, 2019 · 1 comment
Open

Arrow keys always move scrollbar #204

partap opened this issue Oct 9, 2019 · 1 comment

Comments

@partap
Copy link

partap commented Oct 9, 2019

Whenever I use up or down arrow keys to navigate within a scrollable container, it moves the scroll bar, even if that means it scrolls the focused element out of the window.

I've even tried capturing the scroll event and calling preventDefault() on it, but nothing seems to make a difference.

@partap
Copy link
Author

partap commented Oct 9, 2019

Update... I found a jsbin example in #151 that doesn't display the scrolling behavior. It seems that it is using v1.1.0 of the polyfill rather than v1.2.0. I set the version to 1.1.0 in my project and now it seems to work ok too.

...so...bug, I guess?

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

1 participant