Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

20090003: formerly-readonly <input> doesn't display cursor when focused #1779

Open
openradar-mirror opened this issue Aug 3, 2015 · 0 comments

Comments

@openradar-mirror
Copy link

Description

Summary:
An switched from readonly to read-write by a dblclick event handler doesn't have a cursor displayed in it when it becomes focused. A cursor only appears after typing a character into the .

Steps to Reproduce:

  1. Open http://jsfiddle.net/2matzLja/1/show/ in Safari 8.0.3
  2. Double-click on the . Note that a focus ring is displayed on it.

Expected Results:
A text cursor should be displayed in the , just as with a normal has-always-been-writeable .

Actual Results:
No text cursor is displayed in the .
However, you can still type in the , and as soon as you type a character into the , the text cursor starts being displayed.

Version:
OS X Yosemite

Notes:
WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=142477
The example's source code can be viewed at http://jsfiddle.net/2matzLja/1/
Original Bootstrap bug report: twbs/bootstrap#16022
Related Chrome bug: https://code.google.com/p/chromium/issues/detail?id=465274

Configuration:

Attachments:

Product Version: 8.0.3 (10600.3.18)
Created: 2015-03-09T10:56:02.293314
Originated: 2015-03-09T00:00:00
Open Radar Link: http://www.openradar.me/20090003

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant