You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tabbing into the input focuses the input. The next tab moves focus to the next form control.
Actual behaviour
The flag container button receives focus before the input. I don't think the flag should be a button element at all when allowDropdown is false because the flag is not actionable. At the very least it should be a disabled button.
Thanks for raising this. Yes I agree, when allowDropdown is false, the selected flag should not be a button element, and it should not get tab focus. I don't have time to implement this change myself right now, but would be open to a pull request.
Plugin version
v23.1.1
Steps to reproduce
allowDropdown: false
option: https://intl-tel-input.com/storybook/?path=/docs/intltelinput--allowdropdownExpected behaviour
Tabbing into the input focuses the input. The next tab moves focus to the next form control.
Actual behaviour
The flag container button receives focus before the input. I don't think the flag should be a
button
element at all whenallowDropdown
isfalse
because the flag is not actionable. At the very least it should be a disabled button.Initialisation options
The text was updated successfully, but these errors were encountered: