arrow-down arrow at-sign bug check checkbox-checked checkbox-unchecked svg-checkmark chevron-right chevrons-right circle-down circle-left circle-right circle-up cloud2 svg-cross2 download download external-link filter github hash home leaf leaf left link-2 log-in log-out mail menu message-square minus plus radio-checked radio-checked2 radio-unchecked search settings spinner8 target twitter up upload-2 user users warning x zap
  • Home
  • Report a bug
  • Contribute
  • All issues
  • Login

URL: https://twitter.com

Browser / Version: Firefox 60.0
Operating System: Android
Tested Another Browser: Yes

Problem type: Something else
Description: While writing a tweet, longpressing selects the previous word even when there's a space
Steps to Reproduce:
STR:
0. Prerequisite: have something in your clipboard, that you want to paste

  1. start a new tweet (either replying or with a brand new tweet)
  2. write a word, either followed or not followed by a space. The cursor will be after the space.
  3. Longpress in the empty space at the right of the word
    => The space and the previous word are selected, and the context menu with "paste" appears. As a result, when pasting, the previous word is replaced too, which is unexpected with this flow.

The behavior is correct in Chrome (eg: the word isn't selected unless we longpress on the word itself).

I initially thought this would happen in Twitter only but actually this happens everywhere there's an input (either input text, or textarea). But this is especially painful in Twitter where it's common that we want to paste something. The workaround is to start a new word that will get replaced.

From webcompat.com with ❤️

Please login to edit issues.

View issue on Github

Shortcut: Press l on your keyboard to open the label editor. Shortcut: Press g on your keyboard to be taken to the GitHub view of this page.
Closed: Duplicate
#15953

twitter.com - While writing a tweet, longpressing selects the previous word even when th

Opened: 2018-03-12
Reporter: julienw
Comments: 12
  • Home
  • List of issues
  • About
  • Contribute
  • Contact
  • Privacy Policy
  • Terms of Service
  • Code of Conduct