GrapesJS / GrapesJS/components-lory
BUG: Moving between slides doesn't work properly when a slide is duplicated
- Dominant language
- JavaScript
- Stars
- 27
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
**Version:**
0.1.5
**Are you able to reproduce the bug from the demo?**
Yes.
**What is the expected behavior?**
When `Infinite` option is checked and I duplicate a slide using the tooltip or copy/paste it using the Layer Manager and I click the arrow icon (next or previous) the slide moves on one slide next or previous in the correct order.
**What is the current behavior?**
When `Infinite` option is checked and I duplicate a slide, clicking the next/prev button moves on the slides randomly (not in the right order).
**Steps to reproduce**
1 - Drag and drop a Slider Component into the canvas.
2 - Select the Slider component and check the 'Infinite' option (important).
3 - Place a text component on each slide: '1' (for the first slide), '2' (for the second) and '3' (for the third) in order to differentiate them.
4 - Click on a slide, the tooltips appears, click on duplicate icon, the slide is correctly duplicated (you can check it in Layer Manager).
5 - Now, click several times on the next slide button (>).
=> The slides doesn't move on the correct order.
https://user-images.githubusercontent.com/23215166/105200414-19928780-5b40-11eb-8d62-3712fa059fea.mov
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.