Open blursolo opened 1 year ago
It probably loses the instance while switching between breakpoints. Could you get the instance before executing the methods instead? As stated in https://github.com/phucbm/flickity-responsive/issues/21#issuecomment-1478892118
I am using v.2.0.6 in Vue and have a initialized a slideshow like this:
I have a button which, on click, executes the following code:
this.flkty?.select( index, false, false );
It works, but as soon as I downsize the window to match the breakpoint, the code isn't working anymore. There is no error message, it just doesn't do anything. It also doesn't work when I resize the window back to its default desktop size.
Any idea how to fix this?
--- EDIT
Other commands like .next() or .previous() aren't working either..