Gutenberg: React Native: @-mentions UI impedes use of @ character in posts

Created on 6 Aug 2020  路  5Comments  路  Source: WordPress/gutenberg

Describe the bug
With the implementation of the @-mentions feature on mobile, it became difficult to type an @ character _without_ making it a mention.

Ideally, the user should be able to add the @ character using any of these approaches:
a. tap backspace after adding a @ character, which should dismiss the mentions UI and leave the @ character in the post
b. tap outside the mentions UI to dismiss it and leave the @ character in the post
c. tap space after adding a @ character, which should dismiss the mentions UI and leave the @ character in the post

To reproduce
Steps to reproduce the behavior:

  1. Open a new post
  2. Add a paragraph or other rich-text based block
  3. Type an @ character and dismiss the list of @-mention users (tap outside the list to dismiss)
  4. Notice how the @ character is removed from the post when the list is dismissed

Expected behavior
Dismissing the list should leave the @ character on the post, allowing users to enter the character without using an @-mention.

Screenshots

Screen recording courtesy of @designsimply: 1m11s

Smartphone:

  • Device: Any iOS device
  • OS: iOS
  • Version: Any version

Additional information
For example, the user may wish to type a Twitter handle and would find that the current @-mention UI makes this difficult. Current workarounds include choosing any user from the @-mention list and then erase the username portion leaving the @ character in the post, or typing text and then an @ character (with no space in-between) and then deleting the leading text.

Mobile App AndroiiOS [Type] Bug

All 5 comments

@hypest I hadn't closed this because there's one aspect of this ticket which isn't fixed yet:

tap space after adding a @ character, which should dismiss the mentions UI and leave the @ character in the post

In discussions with @iamthomasbishop, we agreed that this appears to be a common interaction for dismissing mentions lists. I'll reopen this to ensure we don't lose track of this, just let me know if you think otherwise 馃憤

Fine by me either way @guarani , sorry I closed the ticket... I thought that the issue is actually now fixed and we are only looking at adding more ways to dismiss the UI.

No worries, and thanks for looking out for un-closed issues!

In discussions with @iamthomasbishop, we agreed that this appears to be a common interaction for dismissing mentions lists. I'll reopen this to ensure we don't lose track of this, just let me know if you think otherwise 馃憤

I like this very much because it's the least disruptive to the writing flow.

Was this page helpful?
0 / 5 - 0 ratings