You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using sl-resize-observer to watch for changes to a carousel. When the loop property is applied to the carousel, the carousel show the last slide item first and then displayed the slides in the correct order.
The carousel render in the correct order when:
the carousel is not inside the resize observer,
the loop property is not applied
For context, I am using the resize observer to change the carousel's properties depending on mobile or desktop.
Describe the bug
I'm using sl-resize-observer to watch for changes to a carousel. When the loop property is applied to the carousel, the carousel show the last slide item first and then displayed the slides in the correct order.
The carousel render in the correct order when:
For context, I am using the resize observer to change the carousel's properties depending on mobile or desktop.
if there is a better way to handle that please let me know :)
To Reproduce
Steps to reproduce the behavior:
Demo
Demo Repo: https://github.com/colin-as/sl-carousel-bug
Browser / OS
Additional information
Provide any additional information about the bug here.
Thank you!
The text was updated successfully, but these errors were encountered: