packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/GridDragDropState.kt
+21
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Previously, dragging a smaller widget beyond the last large widget in the grid was not possible. This occurred because the grid could not overscroll to make the target position visible when no additiona space is available. This change adds a spacer after the last widget if it is larger than the dragging widget. This spacer allows overscrolling, enabling the dragging widget to be positioned beyond the large widget. Test: manual; see videos in bug Bug: 383384880 Flag: EXEMPT bug fix Change-Id: Ic513ded3cf804acedcf9355a0385c13eaf96c5ab