Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Selecting Text is disabled on touch screens.

Open soonahn opened this issue 11 years ago • 2 comments

On my Lenovo T450s, I can't select text on the webpage. Replicated in machines with touch screens such as the X250s, and a Microsoft Surface Pro.

Touch Events disable the ability to select text in the webpage.

soonahn avatar Sep 04 '15 16:09 soonahn

I fixed locally, but we still have a problem to select messages:

  • When you do long touch for a few seconds on user message or username, Rocket.Chat open a "Delete/Report" panel (which i can't cancel -- i can't find this bug, but i already see here);
  • When you double click/touch a username, it's opened a user info panel

You can copy everything who don't trigger a function.

The same interations are tested in Google and Reddit sites with Chrome @ DevTools Touch Mode and an Android Phone.

I'll make a PR soon.

AdrianoCahete avatar Sep 05 '15 23:09 AdrianoCahete

@AdrianoCahete yeah it not closing is another bug

geekgonecrazy avatar Sep 06 '15 00:09 geekgonecrazy