-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Focus lost when updating navigation link label #46242
Comments
I was told this may have happened after this refactor. I haven't confirmed it myself, but it may be a place to start looking for the fix. |
Screen.Capture.on.2022-12-01.at.19-11-59.mp4Hmmmm I can't seem to replicate this in the Post Editor using Chrome. Any other reproduction steps? |
Confirmed this is FF specific. I was able to replicate. |
I think I have tracked this to ...which is included on the
If I remove the hook then I don't get the focus bug. |
....but I don't know what the fix is. It is a bug with the hook or a bug in our implementation??? |
It was not the refactor, but the bug is weirder than I initially thought. This is what I did: I checked out 821db1c which is the commit previous to the refactor, and then added a link to my navigation and edited the label. It works fine for a few seconds and then the focus gets lost. |
can't seem to reproduce this anymore, closing. Feel free to reopen if it comes back! |
Description
On the navigation link and navigation submenu blocks, the label input loses focus when entering any text.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: