davatron5000 / FitText.js

A jQuery plugin for inflating web type
http://fittextjs.com
6.76k stars 1.39k forks source link

Problem with scrollReveal.js #144

Closed nikmauro closed 8 years ago

nikmauro commented 8 years ago

hello i have problem with FitText.js library, when enable the scrollReveal.js the fittext resize stop working. Any tip about this?

nikmauro commented 8 years ago

here a jsbin

CosmicWebServices commented 8 years ago

It is working for me with the latest Chrome OS? What browser/OS are you on?

davatron5000 commented 8 years ago

http://jsbin.com/zuqijebopi/1/edit?html,output

If you run FitText before ScrollReveal it'll work. ScrollReveal hides the element you're trying to FitText, which means it has nothing to base height/width off of. Therefore it fails. For this example tho, you may want to use vw units instead of FitText.

jlmakes commented 8 years ago

:+1: