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

What is Framer? Join the Community
Return to index
Caitlin Charniga
Posted Jul 12 - Read on Facebook

Hi all. I have an html input built in to my framer prototype, and I have some text outside of it that I want to be purple when the input is focused.

Right now I have the color change working onTap, but I really don't want it to stay purple.

Any idea how I can target either a focus or a keyboard?

2 Comments

Jordan Robert Dobson

Are you using a module? If not I recommend my module. :) you can find it on http://FramerCo.de

Trevor Phillippi

If you select the input element you can target events using Events.wrap. See this example: https://framer.cloud/dRDYf

You can also use Jordan's module :)

Read the entire post on Facebook