This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
In multiple text fields, you have to press TAB key twice to navigate to next field #458
Comments
I've played around with a login form I have and had this issue. Maybe the problem is that both input groups and inputs have Any ideas on how to fix this in the directives? |
It looks like the outer md-input-group is focus enabled (tabindex=0) so that it also gets focus in addition to the inner input element. Setting the tabindex on the md-text-float doesn't affect the inner input, so you can set it to -1 to disable the outer element from taborder. |
Yep, there's an extra |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
You can see the behavior right here: https://material.angularjs.org/#/demo/material.components.textField. If you have focus on a field, pressing tab should navigate to the next one. Instead, it set focus on the label element (i'm almost sure). So, you have to press TAB key twice to navigate to the next text field.
The text was updated successfully, but these errors were encountered: