mlem icon indicating copy to clipboard operation
mlem copied to clipboard

[2.0] Scroll gestures sometimes ignored on iOS 18

Open Sjmarf opened this issue 1 year ago • 1 comments

Occasionally when you try to scroll up or down in the feed on iOS 18 the view ignores the gesture. It seems that changing the quick-swipe .highPriorityGesture to .gesture fixes it. There's a comment on the .highPriorityGesture line about why it needs to be there:

 // needs to be high priority or else dragging on links leads to navigating to the link at conclusion of drag

If that's causing it, we need to find a solution that fixes both issues. Since this is new behaviour in iOS 18, it's also possible that it'll be fixed by Apple before final release.

Sjmarf avatar Jul 30 '24 15:07 Sjmarf

Some very preliminary testing suggests the drag/link behavior is not present when downgrading from .highPriorityGesture to .gesture in the 2.0 codebase. I will implement and further test this change in my upcoming website preview PR.

EricBAndrews avatar Jul 31 '24 00:07 EricBAndrews

This still happens when using Xcode 16, but it's fixed on Xcode 15. When Xcode 16 comes out properly, I'll see if the bug is still there and look into fixing it if so.

Sjmarf avatar Aug 26 '24 19:08 Sjmarf