-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
Mobile WebViewport sizes for mobile and tablet devicesViewport sizes for mobile and tablet devices[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
On iOS devices, if the cursor is placed after certain punctuation followed by a space, pressing the Delete (backspace) key inadvertently deletes the entire text block rather than deleting the last character (space).
This only occurs when a subset of punctuation is used—e.g., period, exclamation—where other punctuation does not exhibit the issue—e.g., comma, apostrophe. It also only occurs on a physical iOS device, I was unable to reproduce it using iOS simulators.
It appears this regression was introduced in #68164.
Step-by-step reproduction instructions
- Open the editor on an iOS device.
- In a Paragraph block, type a word, followed by a period, followed by a space.
- Press the Delete key (backspace).
- Note the entire block is deleted, not just the last text character.
Screenshots, screen recording, code snippet
ScreenRecording_02-10-2025.11-43-02_1.mov
Environment info
- Wordpress 6.7.1
- Gutenberg 20.2.0
- Theme: Twenty Twenty-Five
- Mobile Safari on an iPhone 15 running iOS 18.3
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
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Metadata
Metadata
Assignees
Labels
Mobile WebViewport sizes for mobile and tablet devicesViewport sizes for mobile and tablet devices[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended