-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RAC] <Link>
gets focus-outline
attributes on window blur.
#7468
Comments
<Link>
gets focus-outline
attributes on touch.<Link>
gets focus-outline
attributes on window blur.
<Link>
gets focus-outline
attributes on window blur.<Link>
gets focus-outline
attributes on window blur.
What device and iOS version are you using? I can't seem to reproduce on my iPhone 13 + iOS 18. Here's a ScreenRecording_12-05-2024.11-33-45_1.MP4 |
I work with endre - I just tried and I can reproduce. it happened 3 times in a row but only the first time. After clicking away from the link it’s no longer reproducible. |
Ok fourth time it didn’t happen, fifth it did |
Ah, okay I can reproduce it now. Thanks for the additional information. At least for me, I have to touch it in a certain way for it to render with the focus ring but I haven't been able to get it consistently. |
Provide a general summary of the issue here
On mobile, when a
Link
is touched, it getsfocus-outline
attributes and styles on window blur. For client-side routing, if I switch apps to trigger the window blur and then return to the application, the last triggered link retains the focus-outline style.🤔 Expected Behavior?
The
<Link>
should not receive thefocus-outline
style under any circumstances on mobile.Based on the documentation:
😯 Current Behavior
The
<Link>
getsfocus-outline
style and attributes on thewindow blur
event. This issue can be easily reproduced on both the website examples and the official public Storybook.💁 Possible Solution
No response
🔦 Context
We are using the
<Link>
component in the Tab Bar of our mobile navigation, which has afocus-outline
style defined. When switching applications back and forth, our Tab Bar links receive thefocus-outline
style. This is not the expected behavior.🖥️ Steps to Reproduce
focus-outline
style.Screen recordings:
Version
1.5.0
What browsers are you seeing the problem on?
Chrome, Safari
If other, please specify.
No response
What operating system are you using?
iOS 18
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: