nuxt-swiper icon indicating copy to clipboard operation
nuxt-swiper copied to clipboard

I can't manipulate the instance with 'init:false'

Open RemyAlbanes opened this issue 1 year ago • 3 comments

After several tries, I'm stuck on a problem:

I can't manipulate the instance after initializing my swiper with “init:false”.

If I go back to the examples, I can use my 'swiper.prev' and 'swiper.next' buttons in this example:
`

`

But they no longer work in this one:

`

`

Is it a bug? Or am I doing something wrong?

RemyAlbanes avatar Dec 16 '24 16:12 RemyAlbanes

@RemyAlbanes Can you supply a stackblitz example for me to debug?

Thanks!

cpreston321 avatar Dec 17 '24 16:12 cpreston321

Of course : https://stackblitz.com/edit/nuxt-starter-3k9txjcd?file=app.vue

RemyAlbanes avatar Dec 17 '24 16:12 RemyAlbanes

@RemyAlbanes This actually might be related to this PR #140. I will have to double check the code, but this could be due to it returning the computed instance of the swiper, I will take a look here soon.

Thank you!

cpreston321 avatar Dec 17 '24 18:12 cpreston321

Hey guys, same problem here, any updates?

igoohd avatar Mar 28 '25 11:03 igoohd