-
Notifications
You must be signed in to change notification settings - Fork 15
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
Cursor not showing in the editor when clicking on <h1> element #9
Comments
could you please elaborate, what issue are you facing |
in the lexical official playground when you select for example H1 the cursor automatically shows inside the editor but in your version the cursor is not show until you click again inside the editor its not good for Ux |
It's due to the way how shadcn tooltip works. But nice catch, working on it. |
you can see this repo https://github.com/mohe22/Next-lexical-editor but I don't know if he use shadcn or not |
one can use useRef to track the cursor position and restore it
|
I tested the Lexical Playground, and when I click on an
element, the cursor appears in the editor. However, in your example, the cursor does not appear when clicking on the
element. Could you clarify why this is happening?
The text was updated successfully, but these errors were encountered: