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
iOS TextField, Incorrect behavior of text selection by double tap #2682
Comments
dima-avdeev-jb
added a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Feb 1, 2023
Selection handlers And Context Menu (JetBrains/compose-multiplatform#2682)
dima-avdeev-jb
added a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Feb 2, 2023
Selection handlers And Context Menu (JetBrains/compose-multiplatform#2682)
eymar
pushed a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Feb 24, 2023
Selection handlers And Context Menu (JetBrains/compose-multiplatform#2682)
MatkovIvan
pushed a commit
to MatkovIvan/compose-multiplatform
that referenced
this issue
May 10, 2023
Selection handlers And Context Menu (JetBrains#2682)
dima-avdeev-jb
changed the title
Incorrect behavior of text selection and context menu in TextField on iOS simulator
Incorrect behavior of text selection in TextField on iOS simulator
Jun 19, 2023
dima-avdeev-jb
changed the title
Incorrect behavior of text selection in TextField on iOS simulator
iOS Incorrect behavior of text selection in TextField on simulator
Jun 19, 2023
dima-avdeev-jb
changed the title
iOS Incorrect behavior of text selection in TextField on simulator
iOS TextField, Incorrect behavior of text selection on simulator
Jun 19, 2023
mazunin-v-jb
changed the title
iOS TextField, Incorrect behavior of text selection on simulator
iOS TextField, Incorrect behavior of text selection by double tap
Sep 13, 2023
igordmn
added a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Nov 15, 2023
…textfields on iOS (#831) ## Proposed Changes Added UIKitTapGesturesDetector.kt - repeating tap gestures detector. Moved and separated the logic for handling taps in the textfields. Added handling of double and triple taps in the textfields on iOS. This PR also includes review fixes from [my previous, closed one](#798) ## Testing Test: Open any screen with textfield with mutable text, then try to double or triple tap on text (or if its empty, write something in it). Try to test with focused textfield and unfocused. Double tap selects the word, triple tap selects the paragraph. ## Issues Fixed JetBrains/compose-multiplatform#2682 https://youtrack.jetbrains.com/issue/COMPOSE-333/iOS-TextField-Incorrect-behavior-of-text-selection-by-double-tap (YT double version of the previous issue) https://youtrack.jetbrains.com/issue/COMPOSE-409/iOS-TextField-support-triple-tap-handle ## 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: dima.avdeev <dima.avdeev@jetbrains.com> Co-authored-by: Igor Demin <igordmn@users.noreply.github.com>
igordmn
added a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Nov 16, 2023
…tap gesture handling in textfields on iOS (#831) ## Proposed Changes Added UIKitTapGesturesDetector.kt - repeating tap gestures detector. Moved and separated the logic for handling taps in the textfields. Added handling of double and triple taps in the textfields on iOS. This PR also includes review fixes from [my previous, closed one](#798) ## Testing Test: Open any screen with textfield with mutable text, then try to double or triple tap on text (or if its empty, write something in it). Try to test with focused textfield and unfocused. Double tap selects the word, triple tap selects the paragraph. ## Issues Fixed JetBrains/compose-multiplatform#2682 https://youtrack.jetbrains.com/issue/COMPOSE-333/iOS-TextField-Incorrect-behavior-of-text-selection-by-double-tap (YT double version of the previous issue) https://youtrack.jetbrains.com/issue/COMPOSE-409/iOS-TextField-support-triple-tap-handle ## 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: dima.avdeev <dima.avdeev@jetbrains.com> Co-authored-by: Igor Demin <igordmn@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are some bugs in text selection in `TextField` on iOS Simulator in the `widgets-gallery` sample:
Simulator: iOS 16.2, iPhone 14
Moved ContextMenu related bugs to issue: #3276
The text was updated successfully, but these errors were encountered: