We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 401fa6f commit ef008dcCopy full SHA for ef008dc
1 file changed
src/draggable/toolbar/SortZone.mjs
@@ -256,7 +256,7 @@ class SortZone extends DragZone {
256
indexMap : indexMap,
257
ownerStyle : {height: ownerStyle.height, width: ownerStyle.width},
258
reversedLayoutDirection: layout.direction === 'column-reverse' || layout.direction === 'row-reverse',
259
- sortDirection : layout.direction.includes('row') ? 'horizontal' : 'vertical',
+ sortDirection : layout.direction?.includes('column') ? 'vertical' : 'horizontal',
260
startIndex : index
261
});
262
0 commit comments