Skip to content

visible lifecycle variant is flickering when element is no more intersecting #94

@rufusmai

Description

@rufusmai

(I'm reopening this issue from #38 because I'm not sure if this issue is related to #63)

If an element goes out of the viewport, the fade out animation starts.
This brings the element back in to the viewport and apparently causes a fade in animation.

Here is a reproduction: https://stackblitz.com/edit/vue-wsbrnv?file=src/App.vue

First, the image is not showing up after page load, even though it's in the viewport.
It works after scrolling down and up again.
Second, if you scroll down again, before the image is hiding, it starts to flicker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions