vue3-carousel icon indicating copy to clipboard operation
vue3-carousel copied to clipboard

V-model and slideTo not selecting right key item

Open nmeynard opened this issue 3 years ago • 1 comments

Describe the bug Using v-model doesn't take the focus on the right item (using key in slides and passing the key value to v-model). SlideTo slide to another item when using the value of the key of an item.

To Reproduce Use v-model directive or slideTo according to what's written in the docs and examples.

Expected behavior V-model should give focus to the item which has this value in "key" directive. SlideTo should give focus to the item which has this value in "key" directive.

Desktop (please complete the following information):

  • OS: All platforms
  • Browser All browsers

nmeynard avatar Aug 02 '22 10:08 nmeynard

  • the plugin randomly throw "too much recursion" error, works sometimes after multiple refresh, but absolutely random. Issue persist after setting the value on "mounted" and setting the value manually. however, the plugin doesn't go to the right key even when setting the value (which exists in the items of course) manually.

nmeynard avatar Aug 02 '22 10:08 nmeynard

This issue is fixed on the latest version

ismail9k avatar Apr 05 '23 18:04 ismail9k