Strange Looking focus ring style on @mention element #4586
Replies: 1 comment
-
The focus ring you see comes from the To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I noticed that the @ mention style looks a bit off. After doing some quick debugging, I found that the issue is caused by the
focus-within:ring-2
style in the following code segment:In both:
templates/plate-playground-template/src/components/ui/mention-node.tsx
apps/www/src/registry/ui/mention-node.tsx
→ MentionInputElement →
I'm not sure if this is the intended styling behavior. and may be it should show the
@
where user triggerReproduction URL
No response
Reproduction steps
Plate version
latest
Slate React version
latest
Screenshots
Logs
Browsers
No response
Beta Was this translation helpful? Give feedback.
All reactions