vue3-carousel
vue3-carousel copied to clipboard
Throttle config is not applied because handleDragging is defined before prop initialization.
Describe the bug
The throttle prop is exposed but does not take effect.
This is because handleDragging is defined before props have been initialized.
To Reproduce
Bind any value to throttle, and notice that it does not take effect.
For example:
<carousel
...
:throttle=0>
...
</carousel>
Expected behavior Mouse/touch drag on carousel should no longer be throttled.
Screenshots N.A.
Desktop (please complete the following information): All versions
Smartphone (please complete the following information): All versions