Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

useSignalEffect is not working as expected when using visibility: hidden/visible in CSS animations #237

@SantosGuillamot

Description

@SantosGuillamot

The custom useSignalEffect implementation is needed to wait for DOM changes before calling the passed callback. And, while it works great in most of the use cases, we discovered that it doesn't work as expected when visibility: hidden/visible is included in CSS animations.

This issue was discovered in the lightbox pull request. And this is a video with a longer explanation of the problem:

https://www.loom.com/share/63bb6d517f2a47398101d15be6b70db6

I assume we will have to triage why this is happening and find out an implementation where this is supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions