This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Tan Sip Khoon
Posted Jul 02 - Read on Facebook

I tried to add an input text field to a layer, but couldn't get the field to take keyboard input.

newLayer = new Layer
newLayer.html = "<input type=text>"

Any idea?


Koen Bok

newLayer.ignoreEvents = false

Tan Sip Khoon

I am trying to make the text field to allow users to type in.

newLayer.ignoreEvents = false doesn't seem to work for that.

Tan Sip Khoon

It is on the CSS, I added this CSS rule and solved my problem:
input {-webkit-user-select: auto}

Read the entire post on Facebook