gutenberg-mobile icon indicating copy to clipboard operation
gutenberg-mobile copied to clipboard

Undo is not working on title at the first tap

Open irfano opened this issue 2 years ago • 0 comments

Describe the bug When the last edit is on the title, tapping undo is not doing anything. Tapping it again removes the last two letters.

To Reproduce Steps to reproduce the behavior:

  1. Open JP app.
  2. Create a new blog.
  3. Type a title that is more than one character.
  4. Tap undo button at the top.
  5. Notice that tapping undo does nothing on the editor.
  6. Tap the undo button again.
  7. Notice that the last two letters are removed.

Expected behavior The first undo should remove the last letter from the title.

Screenshots

undo-bug.webm

Smartphone (please complete the following information):

  • Device: Pixel 7 Pro
  • OS: Android 13
  • Version Jetpack Android 23.0-rc-1

irfano avatar Aug 17 '23 15:08 irfano