GrapesJS / GrapesJS/components-lory

BUG: Weird behavior selecting slides from Layer Manager panel

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
27
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Hi @artf!

Let me describe the issue

**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 select one of the slides from `Layer Manager` panel the Slide selected moves on the `Slider Frame`.

**What is the current behavior?**
- Sometimes when we select a slide from `Layer Manager`, the`Slide` is selected but it doesn't move on the `Slider Frame`.
- Sometimes when we select one of the last two slides (2nd and 3rd by default) from `Layer Manager `it moves to the `Slider Frame`.

**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 - Open `Layer Manager`, select each slide from Layer Manager:
=> The slides are selected but they don't move on the `Slider Frame`.
5 - Now, go to the slide '3' and click the next arrow, the slide '1' will move to the `Slider Frame`.
6 - Open `Layer Manager`, select each slide from Layer Manager:
=> The Slide '2' and Slide '3' moves to the `Slider Frame`, but the Slide '1' not.

https://user-images.githubusercontent.com/23215166/105053666-7d9a4a80-5a71-11eb-951c-4b8469be82b9.mov

Let me know what you think,

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.