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
Noticed that the HiddenSelect component inside a Picker is not disabled when Picker is disabled. This means the <select> and <input> elements are still enabled, and the <input> still accepts focus which messes up tabbing around the page.
馃拋 Possible Solution
Pass isDisabled prop through to HiddenSelect and make both the <select> and <input> disabled when it is true.
馃敠 Context
Noticed when testing in this CodeSandbox. There's an extra tab stop after the enabled picker before the next enabled button that shouldn't be there. Inspecting the DOM shows that the <input> inside the disabled picker has focus.
馃實 Your Environment
Software
Version(s)
react-spectrum
3.0.2
Browser
Chrome
Operating System
macOS
馃Б Your Company/Team
RSP
The text was updated successfully, but these errors were encountered:
馃悰 Bug Report
Noticed that the
HiddenSelect
component inside a Picker is not disabled when Picker is disabled. This means the<select>
and<input>
elements are still enabled, and the<input>
still accepts focus which messes up tabbing around the page.馃拋 Possible Solution
Pass
isDisabled
prop through toHiddenSelect
and make both the<select>
and<input>
disabled when it is true.馃敠 Context
Noticed when testing in this CodeSandbox. There's an extra tab stop after the enabled picker before the next enabled button that shouldn't be there. Inspecting the DOM shows that the
<input>
inside the disabled picker has focus.馃實 Your Environment
馃Б Your Company/Team
RSP
The text was updated successfully, but these errors were encountered: