Skip to content
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

Long-press gestures are not working in RichText component [Android] #54210

Closed
fluiddot opened this issue Sep 6, 2023 · 0 comments · Fixed by #54213
Closed

Long-press gestures are not working in RichText component [Android] #54210

fluiddot opened this issue Sep 6, 2023 · 0 comments · Fixed by #54213
Assignees
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Status] In Progress Tracking issues with work in progress [Type] Regression Related to a regression in the latest release

Comments

@fluiddot
Copy link
Contributor

fluiddot commented Sep 6, 2023

Description

Long-press gestures used for opening the context menu to copy/paste content, as well as used to move the caret, are no longer working in RichText components on Android. This is a regression introduced in the Gutenberg Mobile version 1.103.0 and related to a fix for a problem with Voice and assistive inputs (#53895).

NOTE: This issue is only affecting the Android version.

Step-by-step reproduction instructions

  1. In the Android app, open/create a post.
  2. Add a Paragraph block.
  3. Select the Paragraph block.
  4. Long-press over the block.
  5. Observe that the context menu that allows copy/paste is not displayed.
  6. Type some text in the paragraph.
  7. Long-press over a word.
  8. Observe that the word gets selected.

Expected behaviour

Long-press gestures should work in the RichText component the same as they do in regular text inputs.

Actual behaviour

Long-press gestures are not working in the RichText component.

Screenshots or screen recording (optional)

Version 1.102.0 (App version 23.1) Version 1.103.0 (App version 23.2)
android-long-press-gestures-23.1.mp4
android-long-press-gestures-23.2.mp4

WordPress information

  • WordPress version: N/A
  • Gutenberg version: N/A
  • Are all plugins except Gutenberg deactivated? N/A
  • Are you using a default theme (e.g. Twenty Twenty-One)? N/A

Device information

  • Device: Samsung Galaxy S20 FE 5G
  • Operating system: Android 13
  • WordPress app version: 23.2
@fluiddot fluiddot added [Type] Regression Related to a regression in the latest release Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) labels Sep 6, 2023
@fluiddot fluiddot self-assigned this Sep 6, 2023
@fluiddot fluiddot changed the title Long-press gestures are not working in RichText component [Android] Long-press gestures are not working in RichText component [Android] Sep 6, 2023
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Status] In Progress Tracking issues with work in progress [Type] Regression Related to a regression in the latest release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant