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

can not use display:none in v1.2.2, but it works fine in v1.2.1 #285

Closed
grtan opened this issue Jan 2, 2020 · 1 comment
Closed

can not use display:none in v1.2.2, but it works fine in v1.2.1 #285

grtan opened this issue Jan 2, 2020 · 1 comment

Comments

@grtan
Copy link

grtan commented Jan 2, 2020

I find the code to cause problems.

if (!lastAnimationFrame) {
     lastAnimationFrame = requestAnimationFrame(function () {
                lastAnimationFrame = 0

                reset()
              })
            }

...

// Fix for custom Elements
// this code cause the value of lastAnimationFrame is not 0
lastAnimationFrame = requestAnimationFrame(reset)
marcj added a commit that referenced this issue Jan 3, 2020
@marcj
Copy link
Owner

marcj commented Jan 3, 2020

Fixed in v1.2.3

@marcj marcj closed this as completed Jan 3, 2020
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