element-android icon indicating copy to clipboard operation
element-android copied to clipboard

Enable Rich Text Editor makes long-press menu popups all the time when swiping up and down (scrolling) in the chat room

Open archerallstars opened this issue 1 year ago • 4 comments

Steps to reproduce

  1. Enable Rich Text Editor in Settings > Labs > Enable rich text editor.
  2. In any chat room with a lot of messages, swiping up and down (scrolling).

Outcome

What did you expect?

Long-press menu shouldn't popup all the time. It should only popup with a long-press, not swipe.

What happened instead?

Long-press menu popping up all the time when scrolling in the chat room, which makes the app unusable, as shown in the screen recording below:

https://github.com/element-hq/element-android/assets/1403194/3471bd94-8871-45e5-a20c-9ad1e9ca50c8

Your phone model

Lenovo Tab P11

Operating system version

Android 11.0

Application version and app store

Element 1.6.10 [40106102] (G-493093c2) from Play Store

Homeserver

matrix.org

Will you send logs?

Yes

Are you willing to provide a PR?

No

archerallstars avatar Jan 19 '24 23:01 archerallstars

As reported by another user in a Matrix room, it seems that this problem is related to the Rich Text Editor: disabling it "fixes" the problem. Maybe OP can confirm this?

LFd3v avatar Jan 22 '24 20:01 LFd3v

@LFd3v I can confirm, after disabled Rich Text Editor, I can't reproduce this issue.

Rich Text Editor is also the cause of issue #8738.

archerallstars avatar Jan 22 '24 22:01 archerallstars

I can also confirm this issue. Scrolling was constantly interrupted by the annoying pop-up menu.

Kruegerrr avatar Mar 13 '24 16:03 Kruegerrr

Confirming impact and fix by disabling rich text...

Reproduced on Pixel 6a running GrapheneOS.

JR-git-hub avatar Mar 23 '24 05:03 JR-git-hub