Fix iOS 26 swipe-back conflict with horizontal Compose scrollables#3116
Merged
Conversation
Vendula Švastalová (svastven)
requested review from
Andrei Salavei (ASalavei) and
Vladimir Mazunin (mazunin-v-jb)
June 11, 2026 08:59
Vendula Švastalová (svastven)
force-pushed
the
svastven/CMP-9869
branch
from
June 11, 2026 09:00
82bea9f to
12f442b
Compare
| } | ||
| } | ||
|
|
||
| fun createRootViewController( |
There was a problem hiding this comment.
It depends on the useHostingView parameter passed to UIKitInstrumentedTest. I have added this together with the setupWindow function, so that most (all) tests can use the UIKitInstrumentedTest base.
Vendula Švastalová (svastven)
force-pushed
the
svastven/CMP-9869
branch
from
June 12, 2026 15:47
b6d1f15 to
4ca22af
Compare
Vendula Švastalová (svastven)
force-pushed
the
svastven/CMP-9869
branch
from
June 12, 2026 16:32
4ca22af to
0d529f7
Compare
Vendula Švastalová (svastven)
force-pushed
the
svastven/CMP-9869
branch
2 times, most recently
from
June 13, 2026 00:00
813d9d6 to
ef50023
Compare
Vendula Švastalová (svastven)
force-pushed
the
svastven/CMP-9869
branch
4 times, most recently
from
June 15, 2026 10:38
5bc0127 to
0d29ce2
Compare
Vendula Švastalová (svastven)
force-pushed
the
svastven/CMP-9869
branch
from
June 15, 2026 11:30
0d29ce2 to
c296f3c
Compare
Andrei Salavei (ASalavei)
approved these changes
Jun 15, 2026
Vladimir Mazunin (mazunin-v-jb)
approved these changes
Jun 18, 2026
Vendula Švastalová (svastven)
merged commit Jun 18, 2026
1fae852
into
jb-main
27 of 28 checks passed
Apolo (ApoloApps)
pushed a commit
to ApoloApps/compose-multiplatform-core
that referenced
this pull request
Jul 20, 2026
…etBrains#3116) Handles the iOS 26 full-width `UINavigationController.contentSwipe` gesture recognizer, which is backed by a private `UIScreenEdgePanGestureRecognizer` subclass and can conflict with horizontal Compose scrollables such as `HorizontalPager`. Fixes https://youtrack.jetbrains.com/issue/CMP-9869 ## Testing Adds UIKitNavigationContentSwipeTest test suite covering that swiping over `HorizontalPager` does not pop the controller while swiping outside the pager still pops it. ## Release Notes ### Fixes - iOS - Fix swipe-back gesture conflict with horizontally scrollable components like `HorizontalPager`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Handles the iOS 26 full-width
UINavigationController.contentSwipegesture recognizer, which is backed by a privateUIScreenEdgePanGestureRecognizersubclass and can conflict with horizontal Compose scrollables such asHorizontalPager.Fixes https://youtrack.jetbrains.com/issue/CMP-9869
Testing
Adds UIKitNavigationContentSwipeTest test suite covering that swiping over
HorizontalPagerdoes not pop the controller while swiping outside the pager still pops it.Release Notes
Fixes - iOS
HorizontalPager.