In the overview of the Calcite Block component, it's written: "Blocks have the option to be draggable to reorder elements within the interface".
My question is: How to enable the drag and drop?
Here is a test page with the property drag-handle which creates handles on the blocks.
https://codepen.io/agauch/pen/YzOpjjj
The problem is that I can't change the order of the blocks.
Is there a mistake in the code?
Should it be possible to move these blocks?
Thanks for your help.
Solved! Go to Solution.
I found the solution: the "calcite-block" tags must be in a "calcite-sortable-list".
The CodePen test page has been updated.
I found the solution: the "calcite-block" tags must be in a "calcite-sortable-list".
The CodePen test page has been updated.