-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Message - Pressing enter over a message shows a black border around it #3041
Comments
Triggered auto assignment to @CortneyOfstad ( |
Issue reproducible today during KI retests |
Triggered auto assignment to @deetergp ( |
Rather than triage and release into the general pool, I am going to keep this one and try to fix it. I am going to change the priority from |
Issue reproducible today during KI retests |
1 similar comment
Issue reproducible today during KI retests |
Did some digging into this today and discovered that an attribute |
It looks like the polyfill is added by the browser and is used to indicate, when navigating a web page with a keyboard, that an element has focus. I think the right solution here is to figure out how to prevent individual messages from being able to receive focus--there's not much you can do with them when they get focus anyway. |
Issue reproducible today during KI retests |
Issue reproducible today during KI retests. |
Issue reproducible during KI retests. |
1 similar comment
Issue reproducible during KI retests. |
Letting go of this one, since I've got some bigger, time-sensitive fish to fry. There's no reason this cannot be an external issue. |
Triggered auto assignment to @bfitzexpensify ( |
ProposalThis is a quick one. We have to disable the outline over the message item Pressable to fix it. By default, every focusable element gets outline, and Messages are wrapped inside Pressable which as focusable |
Issue reproducible during KI retests |
Triggered auto assignment to @marcaaron ( |
Posted here on upwork. @marcaaron just a heads up @parasharrajat has posted a proposal above. |
I suggest we get going with this issue. This is a minor one. |
:focus-visible { |
This attribute data-focusvisible-polyfill should be set to 'false' in order to remove the black border. data-focusvisible-polyfill="false" |
Element Class:focus{ Please refer above. You may need to assign element class before pseudo class ':focus' |
Bump @marcaaron, we good to move forward with Rajat's proposal? |
@parasharrajat counterpoint, if it's minor then there's not really any need for urgency Sorry for the delay here. I'm not sure this is a bug at all. Going back to @deetergp's comment here...
I have a few questions about this behavior, but ultimately I think we can just "do nothing" here. It seems like an accessibility feature not a bug. Keyboard users will maybe desire this feedback to see what they are focused on. Removing this outline seems like a step in the wrong direction. Thoughts, @stitesExpensify @kadiealexander ? |
Issue reproducible during KI retests |
I agree, I don't think this is a problem. |
Ok. gonna close then. Thanks! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Expected Result:
Pressing enter on a message should not add a black border around it.
Actual Result:
Pressing enter over a message shows a black border around it
Action Performed:
Workaround:
No need, visual issue.
Platform:
Where is this issue occurring?
Web ✔️
iOS
Android
Desktop App
Mobile Web
Version Number: 1.0.50-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Bug5078158_Recording__97.mp4
Expensify/Expensify Issue URL:
View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: