Skip to content

Transitions: dynamic attributes #3633

Closed
@gotys

Description

@gotys

It seems the Outro transitions aren't respecting dynamic attributes.
I am trying to have a page-slider that dynamically updates the Out / In Fly directions based on some mathematical logic.
It seems that once the Element is mounted the transition settings cannot be updated.

I made a little demo here that should change the outro speed when buttons clicked, but does not:
https://svelte.dev/repl/f8a0a3d1010d4669a81940770547dabf?version=3.12.1

By the way - if there is currently a workaround, can someone please tell me ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions