nnattawat / flip

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

Multiple elements losing initialization after firing #137

Open JoeEarly opened 6 years ago

JoeEarly commented 6 years ago

I was playing with this lib to see if it could be off use and its almost perfect but I have ran into a small issue.

Example in the following codepen: https://codepen.io/joeefp/pen/XPPXvJ

When both modals display the first time, its fine, but once closed they lose the initialization on the next click. It takes a 3rd attempt for initialization is corrected and it "toggles" again.

Download commented 5 years ago

I have trouble understanding the codepen. What leads you to believe you are looking at a bug in flip? As far as I can tell, you are probably using the modal wrong. Did you try removing the modal out of the scenario?