New issue
Advanced search Search tips

Issue 674137 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 674139
Owner: ----
Closed: Dec 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Input caret for input type tel and number does not move correctly

Reported by hickson....@gmail.com, Dec 14 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36

Steps to reproduce the problem:
1. Create an input type of tel or number
2. Use javascript to get the value from the input
3. Update the value to include a non-numeric value
4. Set the value on the input

What is the expected behavior?
The caret moves to the end of the input field.

What went wrong?
The caret will not move to the end of the line and seems to only move the number of numeric values to the right.  eg.  If user enters 123 and we change the value to 12,3 the caret will sit after the comma and not after the 3.

Did this work before? Yes Android System WebView 54.0.2840.68

Chrome version: 55.0.2883.75  Channel: n/a
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 24.0 r0

Plnk link that can replicate the problem.  http://plnkr.co/edit/AfTgZEi6LCD755ewkEZ4?p=preview

Changing the input type to text fixes the problem but the full keyboard pops up instead of the numeric keyboard.
 
Incorrect Component.  Please delete.
Mergedinto: 674139
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment