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
RAC ComboBox does not set ComboBox does not set data-focus-visible or data-hovered attributes. This makes it difficult to set styling on keyboard focus and hover. I can work around it using the hover state of the button and input. Using the data-focused attribute instead of data-focus-visible can be an option, but only if you don't require distinct states for styling.
🤔 Expected Behavior?
ComboBox sets the data-focus-visible and data-hovered attributes when appropriate.
😯 Current Behavior
ComboBox does not set the data-focus-visible or data-hovered attributes.
Thanks for catching this, the team had initially considered adding this in the earlier iterations of RAC but pulled it out. We are revisiting this though since we may have scrapped/forgot to add in a wrapper that would've substituted for those top level data attributes. Will update you once we come up with a final approach.
Provide a general summary of the issue here
RAC
ComboBox
does not set ComboBox does not setdata-focus-visible
ordata-hovered
attributes. This makes it difficult to set styling on keyboard focus and hover. I can work around it using the hover state of the button and input. Using thedata-focused
attribute instead ofdata-focus-visible
can be an option, but only if you don't require distinct states for styling.🤔 Expected Behavior?
ComboBox
sets thedata-focus-visible
anddata-hovered
attributes when appropriate.😯 Current Behavior
ComboBox
does not set thedata-focus-visible
ordata-hovered
attributes.💁 Possible Solution
No response
🔦 Context
No response
🖥️ Steps to Reproduce
https://react-spectrum.adobe.com/react-aria/ComboBox.html#example
Version
RAC 1.1.1
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
Mac OS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: