forked from androidx/androidx
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix initial cursor position in empty TextField when TextAlignment is …
…set explicitly (#1354) After focusing on the textfield and before entering any text, now blinking cursor will be positioned in accordance with TextAlignment. Fixes https://youtrack.jetbrains.com/issue/COMPOSE-1360/ Fixes JetBrains/compose-multiplatform#2711 Fixes JetBrains/compose-multiplatform#3098 Fixes JetBrains/compose-multiplatform#4611 ## Testing Manual testing. ## Release Notes <!-- Optional, if omitted - won't be included in the changelog Sections: - Highlights - Known issues - Breaking changes - Features - Fixes Subsections: - Multiple Platforms - iOS - Desktop - Web - Resources - Gradle Plugin --> ### Fixes - Multiple Platforms - Fix initial cursor position in the empty `TextField` with explicitly set `TextAlignment`. ## Google CLA You need to sign the Google Contributor’s License Agreement at https://cla.developers.google.com/. This is needed since we synchronise most of the code with Google’s AOSP repository. Signing this agreement allows us to synchronise code from your Pull Requests as well. --------- Co-authored-by: Ivan Matkov <ivan.matkov@jetbrains.com>
- Loading branch information
1 parent
8f37649
commit 6c2eca1
Showing
2 changed files
with
70 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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