Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Caret behavior by long tap in cupertino textfield (#913)
## Proposed Changes Added native behavior for long tap and drag in Cupertino text field. Unlike Android, long tap and drag gesture doesn't enter selection mode, It just moves the cursor. ## Testing Test: Open test app, go Components -> Text fields -> Almost fullscreen, tap on the textfield to focus it, then try to long tap in somewhere else and drag. ## Issues Fixed - https://youtrack.jetbrains.com/issue/COMPOSE-449/iOS-caret-movement-by-long-tap-in-textfields - https://youtrack.jetbrains.com/issue/COMPOSE-448/iOS-separate-long-tap-logic-and-drag-selection-logic-in-textfields (it is related to the issue above) ## 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: Igor Demin <[email protected]> Co-authored-by: Ivan Matkov <[email protected]> Co-authored-by: Elijah Semyonov <[email protected]> Co-authored-by: dima.avdeev <[email protected]> Co-authored-by: Alexander Maryanovsky <[email protected]> Co-authored-by: Oleksandr Karpovich <[email protected]> Co-authored-by: Nikolai Rykunov <[email protected]> Co-authored-by: Konstantin <[email protected]> Co-authored-by: Farouk Abichou <[email protected]> Co-authored-by: Alexander Zhirkevich <[email protected]> Co-authored-by: Jake Wharton <[email protected]> Co-authored-by: Sebastian <[email protected]> Co-authored-by: Igor Demin <[email protected]> Co-authored-by: Oleksandr Karpovich <[email protected]> Co-authored-by: sanao <[email protected]>
- Loading branch information