You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a type-ahead suggestion is visible, pressing Escape correctly dismisses the ghost text and reflects the user’s intent to reject the suggestion. However, if the caret is at the end of the block, the Escape keyup immediately restarts the caret-driven suggestion flow and triggers another network request.
This creates unnecessary requests and causes the dismissed suggestion flow to restart without new user input. Pressing Escape should only dismiss the current suggestion. A new suggestion should not be requested on pressing Escape until the user shows renewed writing intent, such as by typing a character.
Step-by-step reproduction instructions
Enable the Type-ahead Text experiment.
Create or edit a post.
Start typing in a supported block and wait for a type-ahead suggestion to appear.
Press Escape to dismiss the suggestion.
Observe that the current suggestion is dismissed, but a new suggestion is immediately requested and shown again.
Screenshots, screen recording, code snippet
bug.mov
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except the AI plugin.
Yes
Please confirm which theme type you used for testing.
Description
When a type-ahead suggestion is visible, pressing Escape correctly dismisses the ghost text and reflects the user’s intent to reject the suggestion. However, if the caret is at the end of the block, the Escape keyup immediately restarts the caret-driven suggestion flow and triggers another network request.
This creates unnecessary requests and causes the dismissed suggestion flow to restart without new user input. Pressing Escape should only dismiss the current suggestion. A new suggestion should not be requested on pressing
Escapeuntil the user shows renewed writing intent, such as by typing a character.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
bug.mov
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except the AI plugin.
Please confirm which theme type you used for testing.