Skip to content

Sync mouse text selection fix with AOSP - #3474

Merged
Alexander Maryanovsky (m-sasha) merged 4 commits into
jb-mainfrom
m-sasha/sync-mouse-text-selection-fix-with-aosp
Sep 30, 2026
Merged

Alexander Maryanovsky (m-sasha) merged 4 commits into
jb-mainfrom
m-sasha/sync-mouse-text-selection-fix-with-aosp

Conversation

@m-sasha

Copy link
Copy Markdown

Sync CMP with latest changes in https://android-review.googlesource.com/c/platform/frameworks/support/+/4203754

Testing

N/A

Release Notes

N/A

…the last selectable"

This reverts only compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionLayout.kt from commit 67cb064.
- Crash when selecting after last selectable with mouse
- Crash when selecting from inside a selectable and then dragging outside up and to the right

Test: expanded existing unit tests, added a new one
Change-Id: I22bec6db5a8946cfaf38605f6e8a35d58e0af242
@m-sasha
Alexander Maryanovsky (m-sasha) merged commit d7746b9 into jb-main Sep 30, 2026
24 checks passed
@m-sasha
Alexander Maryanovsky (m-sasha) deleted the m-sasha/sync-mouse-text-selection-fix-with-aosp branch September 30, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants