-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Broken keyboard navigation through options #1161
Comments
I tried to create a PR for this, but I'm having a hell of a time getting the code to run on my machine :/ |
Fixes sagalbot#1161. Navigating with up or down arrows would always go to first and last option, skipping everything in between. Caused by missing break statements, probably deleted by accident. sagalbot#1161
Just made a pull request. I rarely contribute to other repos, hope I didn't mess up. @mix3d I had some trouble running the serve command due to fuse.js, which is required for the test page used in "serve" command but isn't listed in dev dependencies. Not sure if there is something I was doing wrong. |
I figured it out. The /docs folder has its own package.json, but it has a bad version number (not 3 part semver), preventing |
For some reason, I couldn't use the built file in project though.. not sure what I was doing wrong. |
Fixes #1161. Navigating with up or down arrows would always go to first and last option, skipping everything in between. Caused by missing break statements, probably deleted by accident. #1161 Co-authored-by: Dino Pejaković <[email protected]>
🎉 This issue has been resolved in version 3.10.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* refactor: don't use the sandbox * refactor: update docs package.json #1161 (comment)
Describe the bug
Selecting options using up/down arrows always jumps to first and last items, skipping everything in between.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Moving through options with arrow keys should select next/previous items, not jump to first/last.
Desktop (please complete the following information):
Additional context
Seems to be broken in commit 2eb3908.
break statements were removed from typeAheadDown() and typeAheadUp() functions in src/mixins/typeAheadPointer.js. Looks like an accident while removing maybeAdjustScroll.
The text was updated successfully, but these errors were encountered: