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

What is Framer? Join the Community
Return to index
Eli Showalter
Posted Jun 07 - Read on Facebook

Hey guys, I'm working with Jordan Robert Dobson's awesome textInput Module. I've been looking for a while but can't see to find an answer: how can i force a .blur() on the input to collapse the iOS keyboard?

Obviously .blur is already a Framer object and so when I try to use that it throws me an error.

3 Comments

Jordan Robert Dobson

http://jrdn.io/2U1E1m3S1p3m -> This should do what you want...

When the app loads immediately focus the input... then in 5 seconds it should blur it. On line 103 is where I fire the blur.

Jordan Robert Dobson

And if you want to know when the blur fired you can set it here: http://jrdn.io/3u2p2O1N2b3C

Eli Showalter

works perfectly, thanks so much 🙏🏼

Read the entire post on Facebook