Skip to content
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

Dynamic slide with only one slide renders 3 copies of slide #2405

Open
tathens opened this issue Nov 14, 2024 · 1 comment
Open

Dynamic slide with only one slide renders 3 copies of slide #2405

tathens opened this issue Nov 14, 2024 · 1 comment

Comments

@tathens
Copy link

tathens commented Nov 14, 2024

https://codesandbox.io/p/sandbox/zflc6l

With version 0.30.2 ---
When creating a dynamic slide, if the array of slides has only 1 item, the item is repeated 3 times on a single slide.

Screen Shot 2024-11-14 at 9 15 48 AM
@tathens
Copy link
Author

tathens commented Nov 14, 2024

I might have jumped the gun on this. I found that setting infinite to false corrected this problem. I now have a test in my code to set infinite: slides.length > 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant