-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vue3-carousel not working inside modal #338
Comments
I'm trying to do the same thing. Did you find a solution to this? |
I'm also trying to achieve the same. It works inside the modal, but the mounting of the carousel takes some time, a few seconds, and causes the view to jump. Any fixes on this? |
I've did some digging into the code, and I have a feeling this is causing the problem: |
The problem comes from the modal which has either an animation or transition and basically when the modal is mounted with the slider, the computed width is 0 Maybe we could listen for "transitionend" and "animationend" instead of setTimeout |
hi, I'm trying to implement vue3-carousel inside modal, it doesn't work until i inspect element or resize page it works. what 's problem ? thank in advance
The text was updated successfully, but these errors were encountered: