Skip to content

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

Closed
@grtan

Description

@grtan

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions