Fix main navigation bar gestures like scroll to top not working on iOS 26#1537
Fix main navigation bar gestures like scroll to top not working on iOS 26#1537patrys wants to merge 1 commit intomastodon:developfrom
Conversation
Liquid glass takes over the tap gestures and the previously used double tap gesture is never triggered. This change replaces it with handling of tab re-selection inside the `tabBarController(_:didSelect:)` delegate.
|
One regression that is not easy to work around is that in |
|
Actually, scratch the above, the original implementation suffered from the same compromise. |
|
Since the previous solution was implemented with a double tap gesture, how about adding a timing check to this one so that the reselection has to be close in time (probably < 0.5 sec) to the previous one, to avoid too many accidental triggers? |
|
@whattherestimefor Did you have a chance to test this on device? I'm not sure it's worth adding a delay since it seems to do some sort of internal debouncing, at least on iOS 26. We can also later replace the UITabBar with a SwiftUI TabView, which handles this automatically when the tab contains a scroll view. |
Liquid glass takes over the tap gestures and the previously used double tap gesture is never triggered. This change replaces it with handling of tab re-selection inside the
tabBarController(_:didSelect:)delegate.Fixes #1530