Do not change cursor position when input type changes

UNCONFIRMED
Unassigned

Status

()

Core
Editor
UNCONFIRMED
2 years ago
2 years ago

People

(Reporter: michael.heuberger, Unassigned)

Tracking

38 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
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.
(Reporter)

Comment 1

2 years ago
I suggest to maintain cursor position only when switching between the types of text and input.

Updated

2 years ago
Component: Untriaged → Editor
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.