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

What is Framer? Join the Community
Return to index
Văn Công Bằng
Posted Jul 22 - Read on Facebook

Hey guys, everytime i press present on Framer Studio, framer auto focus on my input element. For example, i have a chat screen with chat input on the bottom, when i focus on the input, the keyboard image moves up, it's ok when working with normal screen (half code, half present), but when i open full present window, framer auto focus on the input and my keyboard image moves up, i didnt use layer.focus(). And does it happen when i share my work on server ?

4 Comments

Văn Công Bằng

ANW, found a work-around, i create another input, set it autofocus, make it tiny, put it far away :D

Benjamin Den Boer

Hey Van Văn Công Bằng - perhaps you could try using layer.blur() (opposite of the focus method) to prevent this as well. :-)

Văn Công Bằng

Already tried it, but when switch to present, it autofocus anyway, it's ok in the normal coding screen

Văn Công Bằng

one small question, how do i use @font-face, it seems that adding it in <style> in <head> in index.html doesn't work

Read the entire post on Facebook