Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2.5.15, 3.1.4, 3.2.2, 2.5.27, 3.3.15, 4.0.2
-
[4.1] - Sprint 3
Description
When I edit a page in page builder mode and try to reorder the blocks, sometimes the order is mixed up after saving. We did some debugging and found a way to reproduce this:
- Create a Page with 3 blocks and publish it
- Edit the page again
- Drag the first block and drop it at the zone above it
- No reordering is seen (but the state already changed)
- Save the page
- The First block is now at the second position
The cause is in the javascript, which does not check, if the nextBlock is the block being dragged (see Screenshot). See also attached video for more details regarding steps to reproduce.