This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 84
Arrow keys move slider and scroll the page #161
Comments
stevenjb
added a commit
to stevenjb/paper-slider
that referenced
this issue
Jan 17, 2017
Fix for issue PolymerElements#161 - Arrow keys move slider and scroll the page
stevenjb
added a commit
to stevenjb/paper-slider
that referenced
this issue
Jan 17, 2017
Actual tested fix for issue PolymerElements#161 to prevent keys from scrolling the page in paper-slider.
stevenjb
added a commit
to stevenjb/paper-slider
that referenced
this issue
Jan 18, 2017
Actual tested fix for issue PolymerElements#161 to prevent keys from scrolling the page in paper-slider.
Apologies for all of the churn above, but I believe that pull request #165 is correct (or at least works for me). |
keanulee
pushed a commit
that referenced
this issue
Jan 20, 2017
* Prevent arrow keys from scrolling page Actual tested fix for issue #161 to prevent keys from scrolling the page in paper-slider. * Add tests for up/down keys
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Pressing up/down/left/right will change the slider value but will also scroll the screen.
Expected outcome
The page should not scroll. Other elements (e.g. up/down in paper-listbox) do not do this.
Actual outcome
The page scrolls (when scrollable, e.g. when the window is small).
Live Demo
This can be seen by making the browser window for the paper-slider demo page small:
https://elements.polymer-project.org/elements/paper-slider?view=demo:demo/index.html&active=paper-slider
The text was updated successfully, but these errors were encountered: