formerly-readonly <input> doesn't display cursor when focused
| Originator: | cvrebert | ||
| Number: | rdar://20090003 | Date Originated: | 09-Mar-2015 |
| Status: | Open | Resolved: | |
| Product: | Safari | Product Version: | 8.0.3 (10600.3.18) |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: An <input> 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 <input>. Steps to Reproduce: 1. Open http://jsfiddle.net/2matzLja/1/show/ in Safari 8.0.3 2. Double-click on the <input>. Note that a focus ring is displayed on it. Expected Results: A text cursor should be displayed in the <input>, just as with a normal has-always-been-writeable <input>. Actual Results: No text cursor is displayed in the <input>. However, you can still type in the <input>, and as soon as you type a character into the <input>, 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: https://github.com/twbs/bootstrap/issues/16022 Related Chrome bug: https://code.google.com/p/chromium/issues/detail?id=465274 Configuration: Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!