-
Notifications
You must be signed in to change notification settings - Fork 800
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
Contact Form makes "Block Inserter" disappear in Firefox #39144
Comments
@dhasilva, pinging you because the root of the issue seems to be this line of code in the To add to the description, I've been able to reproduce the issue either by typing something in the block inserter search input or hovering a Forms related block (Form, Contact Form, Name Field, etc.) with the mouse cursor. The exact trigger may vary depending on the browser version, but we've been able to replicate the issue with Firefox versions at least back to 127. We didn't notice any issues with the block inserter on Chrome, though. The last Jetpack version in which the block inserter was stable in FF was 13.5, so the issue was introduced in 13.6. Locally, both with the |
Not yet. IIRC the block inserter does not throw any error, so it will require some trial and error to identify exactly what the issue is with the block extension. I'll do that soon and post an update here when I find out what is happening. |
I was able to reproduce it. My guess at this moment is that we are auto-focusing on the AI input, and when that happens inside the preview block it causes this unexpected behavior most times. |
Should be fixed by the PR above. My guess was right there, it was an autofocus issue. |
Impacted plugin
Jetpack
Quick summary
When you search for the "Contact Form" block in the "Block Inserter" while editing a post, "Block Inserter" disappears.
Steps to reproduce
A clear and concise description of what you expected to happen.
Block Inserter stays open and allows for Contact Form to be added to the post.
What actually happened
Block Inserter disappears.
Impact
All
Available workarounds?
Yes, easy to implement
If the above answer is "Yes...", outline the workaround.
Typing
/contact
in the post content allows adding the Contact Form block without using the Block Inserter.Platform (Simple and/or Atomic)
Self-hosted
Logs or notes
Browser: Only fresh versions of Firefox are affected (~128.0.3 and above).
Jetpack version: 13.6 and above.
Screen.Recording.2024-08-29.at.10.59.58.mov
The text was updated successfully, but these errors were encountered: