hyunsupul / aesop-core

Open-sourced suite of components that empower interactive storytelling in WordPress.
http://aesopstoryengine.com
GNU General Public License v2.0
245 stars 56 forks source link

Safari parallax component #213

Closed michaelbeil closed 9 years ago

michaelbeil commented 9 years ago

http://aesopstoryengine.com/topic/parallax-movement-not-working

The parallax image component is blank when browsing with Safari.

The height isn't firing, presumably due to the image not loading. It needs the image to load to calculate the height. So there's an imagesLoaded plugin we can use. Sometimes the js loads before the image, so we have to change it to make sure the image has loaded first.

Quick fix: .aesop-parallax-sc {min-height:400px;}