Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TextField crash when selection start removed while selecting #1969

Merged

Conversation

m-sasha
Copy link
Member

@m-sasha m-sasha commented Mar 28, 2025

This is a cherry-pick of https://android-review.googlesource.com/c/platform/frameworks/support/+/3561283

Fixes https://youtrack.jetbrains.com/issue/CMP-7792

Release Notes

Fixes - Multiple Platforms

  • Fixed crash when dragging selection in TextField(TextFieldState) while also editing the text, such as by pressing Backspace.

Fixes: b/404267562
Test: TextFieldLongPressTest.deleteWhileDraggingSelection
Change-Id: I8cd92aea8d5d5b7b6210c402118882158f23ceb3
@m-sasha m-sasha requested a review from igordmn March 28, 2025 05:36
@igordmn igordmn merged commit 17f5c52 into jb-main Mar 28, 2025
9 checks passed
@igordmn igordmn deleted the m-sasha/fix-crash-deleting-text-while-dragging-selection branch March 28, 2025 12:39
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.

None yet

3 participants