Skip to content

Click on slide to change route breaks slider #88

Open
@leogenot

Description

@leogenot

Checks

Version

0.6.12

Description

On Nuxt 3.4, having Nuxt-link as slide breaks slider when going to the new route, here we see the Dom gets completely changed (I slowed down the transition btw pages to see what was going on) as if the slider ref or options where reset on route change. it seems like the slider is being destroyed before the component gets unmounted

Screen.Recording.2023-05-22.at.11.13.33.mov

Reproduction Link

No response

Steps to Reproduce

1.Have a slide with Nuxt-link
2.
...

Expected Behaviour

slider should stay the same before being unmounted

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions