This repository was archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Touch does not place cursor on input fields on Android #10301
Copy link
Copy link
Closed
Labels
browser: Androidg3: reportedThe issue was reported by an internal or external product team.The issue was reported by an internal or external product team.has: Pull RequestA PR has been created to address this issueA PR has been created to address this issueresolution: fixedui: mobile
Milestone
Description
Actual Behavior:
What is the issue? *
Touch on input field does not place the cursor at different text positions on Android phone
What is the expected behavior?
When there is a input field with text, the cursor should be placed at the touch location.
CodePen (or steps to reproduce the issue): *
- Open the input demos (https://material.angularjs.org/latest/demo/input) on an Android phone.
- Enter some text in an input field.
- Touching different positions in the entered text does not place the cursor.
You can move the cursor by dragging the blue cursor location icon, but the cursor cannot be placed by touch events inside the text.
With $mdGestureProvider.skipClickHijack() this also works, i.e., touch events change the cursor location.
Angular Versions: *
Angular Version:
1.5.8Angular Material Version:
1.1.1
Additional Information:
Browser Type: *
Mobile chromeBrowser Version: *
AndroidOS: *
7
Related tickets:
- Ionic & ngMaterial bug: place cursor in between text on input field not working #10058 references ionic, but the issue is independent of ionic.
- Can't place cursor in input field where i touch #9333 was imho wrongly closed; The issue is on Android but it was closed because iOS behavior is different.
- We can not move cursor to edit inputted value in text boxes in mobile website in FireFox mobile Browser #8829 same issue reported for mobile firefox, comment says it also happens on mobile chrome
dkirsanov, mkuzmych, johngerome, gbahry and vins31
Metadata
Metadata
Assignees
Labels
browser: Androidg3: reportedThe issue was reported by an internal or external product team.The issue was reported by an internal or external product team.has: Pull RequestA PR has been created to address this issueA PR has been created to address this issueresolution: fixedui: mobile