element-hq / element-x-ios

Next generation Matrix client for iOS built with SwiftUI on top of matrix-rust-sdk.
https://element.io/labs/element-x
GNU Affero General Public License v3.0
423 stars 100 forks source link

Scrolling in Voice message causes long press #3472

Open Jaffex opened 2 hours ago

Jaffex commented 2 hours ago

Steps to reproduce

When you receive or send a voice message, and want to scroll to a specific point within it, the client registers your scrolling as a long press, opening the messages context menu.

Outcome

What did you expect?

I expect to be able to scroll around within the message until I hit the position I wanted to get to.

What happened instead?

The long-press context menu opens before I find the position in the voice message I wanted to reach. I can also see the movement starting the reply-swipe gesture, which also might not be desirable if somebody is scrolling within a voice message.

Your phone model

iPhone 12 mini

Operating system version

iOS 18.1

Application version

1.9.3 (134)

Homeserver

irrelevant

Will you send logs?

No

Jaffex commented 2 hours ago

A short screen recording of this in action:

https://github.com/user-attachments/assets/df8c7ecb-4ddc-491b-be94-183bb6801479