Ignore swipe when it starts in system gesture insets #234

Merged
inex merged 3 commits from EpicKiwi/swipe_to_action:system-gesture-insets into master 2025-01-02 14:44:18 +00:00
Contributor

System gesture insets should be available for user to swipe for back or other system-wide gestures. Touches in this area should not trigger any in-app actions.

Issue was found in FluffyChat https://github.com/krille-chan/fluffychat/issues/1415 and also found in example app.

I'm kind of new to Dart and Flutter. So I hope this code is ok and don't misses the point. I tested it out and it's working perfectly on my Pixel 4a with Android 12.

System gesture insets should be available for user to swipe for back or other system-wide gestures. Touches in this area should not trigger any in-app actions. Issue was found in FluffyChat https://github.com/krille-chan/fluffychat/issues/1415 and also found in example app. I'm kind of new to Dart and Flutter. So I hope this code is ok and don't misses the point. I tested it out and it's working perfectly on my Pixel 4a with Android 12.
EpicKiwi added 2 commits 2025-01-02 09:29:36 +00:00
EpicKiwi added 1 commit 2025-01-02 14:19:19 +00:00
inex approved these changes 2025-01-02 14:44:09 +00:00
inex merged commit e567c39d20 into master 2025-01-02 14:44:18 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: inex/swipe_to_action#234
No description provided.