Description
Provide a general summary of the issue here
Hi.
The useFocusRing hook has an option of isTextInput
which from my understanding when false
, a focus ring will be shown an input element with any interaction. When set to true
this will change behaviour so the focus ring is only shown on keyboard interactions.
There appears to be a regression or change where now a focus ring is never shown on input fields for non-keyboard interactions. Is this expected?
The current @react-aria/[email protected]
does not resolve isFocusVisible
to true for all interactions when isTextInput: false
. This seems to have changed with 3.15.0
, as it works as expected with 3.14.3
.
🤔 Expected Behavior?
When isTextInput: false
, then isFocusVisible
should resolve to true
for all interactions.
This has worked until @react-aria/[email protected]
.
😯 Current Behavior
When isTextInput: false
,isFocusVisible
does not resolve to true
for all interactions, only keyboard.
💁 Possible Solution
No response
🔦 Context
No response
🖥️ Steps to Reproduce
Try changing @react-aria/focus
from 3.15.0
to 3.14.3
.
Version
Using @react-aria/[email protected]
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
MacOS Sonoma 14.2
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
Metadata
Metadata
Assignees
Type
Projects
Status
🩺 To Triage