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

Safari pressing Tab brings back to the first tabbable item #360

Closed
HerrNiklasRaab opened this Issue Jul 14, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@HerrNiklasRaab

HerrNiklasRaab commented Jul 14, 2017

I'm using the control on our website. We have a Formular where tabbing is no Problem. But on Safari the curser jumps into the textbox, but not to next input, instead the first tabbable control on the site is focused.

The last working Version is 2.6.1.
The current version with the bug is 2.8.0.

Does anyone know how to solve?

Thank you very much !

Love this project,

Niklas

@running-coder

This comment has been minimized.

Owner

running-coder commented Jul 18, 2017

hey @HerrNiklasRaab I was able to reproduce, will look into this

@running-coder running-coder added the Bug label Jul 18, 2017

@running-coder running-coder changed the title from Safari TAB not working to Safari pressing Tab brings back to the first tabbable item Jul 18, 2017

running-coder added a commit that referenced this issue Jul 18, 2017

@running-coder

This comment has been minimized.

Owner

running-coder commented Jul 18, 2017

Apparently it was the this.node.blur() that was causing the issue. Can't remember why I've added that as it is working correctly without on other browsers... Let me know if it solves your issue.

Thanks

@running-coder running-coder added this to the 2.9.0 milestone Jul 18, 2017

@HerrNiklasRaab

This comment has been minimized.

HerrNiklasRaab commented Jul 19, 2017

@running-coder Yes, this fixes the issue. Thank you very much.

running-coder added a commit that referenced this issue Aug 18, 2017

Version 2.9.0
Feature
- #306 Allow Typeahead to be initialized on <textarea> and <div> with content editable

Fixes
- #363 `templateValue` option when navigating
- #360 Safari pressing Tab brings back to the first tabbable item
- #355 XSS issue with emptyTemplate when no results found
- #351 htmlEntities inside correlativeTemplate
- #311 When `href` option is set, pressing Enter should follow the link

Improvement
- #326 Improve Up / Down / Tab navigation to have only 1 "selected" item
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment