Skip to content

Flickering when using height animation #13

@YannDuv

Description

@YannDuv

I am currently trying to make an animation of a card. The card has a TwicImg (vue3) component as a background.
The card animate a transition between height 100vw and 100%.

There, the TwicImg components detects that the image size change and trigger the fetching of the images 4 during the animation. The of those images make the animation less flowing.
Using the property "step" did not work as it only check for the image width but not its heigh.

Expectation, the step property should work on heigh too and prevent the reloading of new images.

(On my side, I will create a workaround on my animation to animate with a transform: scale() expecting it to not trigger image reload)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions