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

Can't rapidly switch between rooms

Open ara4n opened this issue 2 years ago • 3 comments

Steps to reproduce

  1. View a room
  2. Switch back to roomlist
  3. Immediately tap on a different room
  4. Your tap is ignored.
  5. Tap a few more times
  6. Your taps are ignored, until the fade-out animation of the highlight of the previous room has finished.
  7. 😔🐼

Outcome

What did you expect?

Taps should never be ignored.

What happened instead?

Taps were ignored, and app felt flakey.

Your phone model

No response

Operating system version

No response

Application version

391

Homeserver

No response

Will you send logs?

No

ara4n avatar Sep 20 '23 19:09 ara4n

In case it helps diagnosis, I noticed this isn't as quite as bad when you swipe to return to the room list rather than hit the top left arrow.

wrjlewis avatar Sep 20 '23 20:09 wrjlewis

Tracked this down to the SwiftUI level as I can reliably reproduce it in a sample app.

You cannot see touches in the video but a lot of those interactions happen after tapping the button multiple times.

https://github.com/vector-im/element-x-ios/assets/637564/f0bec8d7-8edc-41c1-8203-89eb0d0e307c

That being said, there's not much we can do at the moment. Let's see if anything changes in iOS 17

stefanceriu avatar Sep 21 '23 12:09 stefanceriu

<Narrator> Nothing changed in iOS17.

ara4n avatar Jul 09 '24 22:07 ara4n

<Narrator> Nothing changed in iOS18.

ara4n avatar May 17 '25 16:05 ara4n

Can we close this as a system bug and raise something on apple.com/feedback instead? The behaviour in EX matches what I see in Mail, Messages, Notes, Reminders etc etc so this doesn't seem like something we can fix ourselves while using the native navigation stack.

pixlwave avatar May 19 '25 14:05 pixlwave