element-x-ios icon indicating copy to clipboard operation
element-x-ios copied to clipboard

Long pressing the timeline blank space sometimes opens a sheet for messages

Open marwing opened this issue 1 year ago • 0 comments

Steps to reproduce

  1. Try to view reactions or message sheet
  2. Miss the elements and hit the timeline instead
  3. Wonder what event you long pressed

In this reproducer recording, I tried to view who reacted to Tom's message but missed and hit the timeline a bit below between the reaction button and tulir's message:

https://github.com/element-hq/element-x-ios/assets/29716248/5cd4d221-051c-4b0a-8b93-7f84b48ec2dc

Reactions and the new message separator make this easy to reproduce (probably because of the extra free space), but are not necessary. I can reliably reproduce this within a few tries in every room I tested.

Outcome

What did you expect?

No context menu for off-screen messages

What happened instead?

context menu for off-screen messages

The message in the sheet is most of the time but not always off screen and about 1 screen height scrolled down (newer events).

Your phone model

iPhone 13 mini

Operating system version

iOS 17.4.1

Application version

1.6.3 (103)

Homeserver

Synapse 1.105.0 / Proxy 0.99.15

Will you send logs?

No

marwing avatar Apr 22 '24 15:04 marwing