Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 880ef4fa authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Disable nested drag only in disableSwipesWhenScrolling()

This CL is changing the implementation of disableSwipesWhenScrolling()
so that only the nested scroll behavior of Modifier.nestedDraggable() is
disabled when scrolls have been consumed by a nested scrollable, instead
of disabling the entire PointerInputModifierNode and removing it from
composition.

This change is necessary because Compose does not really support the
removal of a PointerInputModifierNode during a gesture (see b/389906055
for details).

Bug: 389906055
Test: atest NestedDraggableTest
Test: atest ContentTest
Flag: com.android.systemui.scene_container
Change-Id: I6b0bca8f6915c8f7acf67ff81241ae36daf30dd2
parent 6459fc72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment