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

What is Framer? Join the Community
Return to index
Sindu Narasimhan
Posted Oct 23 - Read on Facebook

I found that when I downloaded this code, I could not see the "typing" happen till I hovered over the textbox object. But it seems to be working on the share preview. Any idea why this might be happening?

11 Comments

Andrew Nalband

For me the typing never happened at all in Framer Studio. I don't know why this works, but adding a line before the html is modified gets it to show up: http://share.framerjs.com/qsai9zg8tiuj/

Sindu Narasimhan

Interesting.This does work ! But just like you I dont know why !
For the code that I shared, did you try hovering over the textbox object in the explorer( I hope that's what its called) on the right?

Andrew Nalband

I'm suspicious that this is a coffeescript syntax problem, but I'm not sure what's causing it.

Jordan Robert Dobson

I can take a look tomorrow. Unfortunately I've probably ran into this or its cousin a few times.

Koen Bok

Often what happens is that layer.ignoreEvents is still on.

Sindu Narasimhan

I tried setting it to false and it does not seem to work (it is still invisible in studio on load) Koen

Jordan Robert Dobson

Wow! What a pain in the ass!

I noticed that the Utils.labelLayer worked... very strange... so I tried a few things and it appears that if you set the font everytime you set the HTML it works just fine. :|

http://jrdn.io/2P3K2a1v273U

Jordan Robert Dobson

Koen Bok - Any ideas here? If you don't set the font in framer Studio every time you set the html property it just won't appear until you hover over it.

Sindu Narasimhan

interestingly in my case, I tried setting the x and y values at the point where you set the font, it begins. So to abstracts Jordan Robert Dobson's point, it seems that we have to set any of the properties for the textBox to show !!!!

Andrew Nalband

Actually you can do just about anything there - even calling print works http://share.framerjs.com/y66wdtx4mgw4/

Jordan Robert Dobson

Awesome. Thanks for checking that out. Crazy.

Read the entire post on Facebook