Open Bug 1176764 Opened 6 years ago Updated 6 years ago

Do not change cursor position when input type changes

Categories

(Core :: DOM: Editor, defect)

38 Branch
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: michael.heuberger, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150511103303

Steps to reproduce:

This GitHub issue says all:
https://github.com/facebook/react/issues/4191

http://jsbin.com/keleru/edit?html,js,console,output demonstrates it, that only Firefox messes with the cursor position when the input type is changed during run time.

Does not happen on other browsers.
I suggest to maintain cursor position only when switching between the types of text and input.
Component: Untriaged → Editor
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.