Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple elements losing initialization after firing #137

Open
JoeEarly opened this issue Sep 16, 2018 · 1 comment
Open

Multiple elements losing initialization after firing #137

JoeEarly opened this issue Sep 16, 2018 · 1 comment

Comments

@JoeEarly
Copy link

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
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants