textLayer-for-Framer icon indicating copy to clipboard operation
textLayer-for-Framer copied to clipboard

Cursor doesn't show up if the textLayer's text is "" and focused

Open blaineb opened this issue 8 years ago • 1 comments

When focusing on a contentEditable TextLayer, the blinking cursor doesn't show up, although it behaves correctly otherwise.

Interestingly, if setup is set to true, it does show up.

Example that will reproduce:

# The layer
text = new TextLayer
  width: 200 # nonessential to reproduce
  height: 200 # nonessential to reproduce
  contentEditable: true
  text: ""

# Focus and behold.... no blinking cursor :'(
text._element.focus()

blaineb avatar Jul 12 '16 00:07 blaineb

+1

kmarkfield avatar Oct 21 '16 16:10 kmarkfield