nnattawat / flip

A lightweight jQuery plugin to make 3D card flipping animation
Other
627 stars 312 forks source link

Card Stretching on First Load #71

Closed richardegil closed 8 years ago

richardegil commented 8 years ago

When the pages loads for the first time the card flipping elements stretch out. When I refresh the page it works perfectly. Gif below for reference. The second flip is performed after refreshing the page.

Any ideas what could cause this?

http://d.pr/i/18zmB

nnattawat commented 8 years ago

Is the width of your element somehow set after calling .flip()? Some things seem to be wrong while setting perspective which using outerWidth * 2