New issue
Advanced search Search tips

Issue 709857 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Calling preventDefault() on 'textInput' misplace the caret (from MacOS emoji picker)

Reported by n...@movio.co, Apr 10 2017

Issue description

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

Steps to reproduce the problem:
1. listen to 'inputText' event, preventDefault in handler.
2. Input an emoji at the beginning of the text
example is here
https://jsfiddle.net/jppj5ozb/
gif screen recording is here
https://cloud.githubusercontent.com/assets/1253729/24844149/b5afc4fa-1dfc-11e7-9b49-83b57d1f5e4b.gif

What is the expected behavior?
caret should stay still if preventDefault been called.

What went wrong?
caret misplaced

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 57.0.2987.133  Channel: stable
OS Version: OS X 10.12.3
Flash Version:
 
Components: -Blink>Input Blink>Editing
Status: Available (was: Unconfirmed)
Repro in Stable 57.0.2987.133 and Canary 59.0.3064.0

Comment 3 by yosin@chromium.org, Jan 10 2018

Labels: Pri-3
Project Member

Comment 4 by sheriffbot@chromium.org, Jan 10

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment