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 <igordmn@users.noreply.github.com> Co-authored-by: Ivan Matkov <ivan.matkov@jetbrains.com> Co-authored-by: Elijah Semyonov <elijah.semenov@gmail.com> Co-authored-by: dima.avdeev <dima.avdeev@jetbrains.com> Co-authored-by: Alexander Maryanovsky <alexander.maryanovsky@jetbrains.com> Co-authored-by: Oleksandr Karpovich <a.n.karpovich@gmail.com> Co-authored-by: Nikolai Rykunov <Nikolay.Rykunov@jetbrains.com> Co-authored-by: Konstantin <konstantin.tskhovrebov@jetbrains.com> Co-authored-by: Farouk Abichou <117727520+Farouk-abichou@users.noreply.github.com> Co-authored-by: Alexander Zhirkevich <sasha.zhirkevich@gmail.com> Co-authored-by: Jake Wharton <github@jakewharton.com> Co-authored-by: Sebastian <sebastian@topobyte.de> Co-authored-by: Igor Demin <igor.demin@jetbrains.com> Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com> Co-authored-by: sanao <jinsei@sanao.dev>
- Loading branch information