nnattawat / flip

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

Card does not perform reverse action with hover trigger and customized speed #89

Closed darkicex3 closed 8 years ago

darkicex3 commented 8 years ago

Hi,

This code below works perfectly until I add the speed parameter. In this case the card flip on hover event without comeback to his initial position when the mouse exit the card.

Working -> $(".bigup-button-card").flip({trigger: 'hover'}); Not Working -> $(".bigup-button-card").flip({trigger: 'hover', speed: '250'});

Thanks

nnattawat commented 8 years ago

You can use Integer for now as $(".bigup-button-card").flip({trigger: 'hover', speed: 250});. I will make it work with string in the next version.

darkicex3 commented 8 years ago

Ok. Thanks for your answer, it works.

nnattawat commented 8 years ago

Fixed on v1.1.1.