mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-06 06:48:21 +00:00
Disable drag while table columns are being resized (#1452)
* Fix resize * Fix * Make calendar not draggable from its body Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
This commit is contained in:
parent
29b20ce1e8
commit
9cc0023b9c
1 changed files with 1 additions and 0 deletions
|
|
@ -207,6 +207,7 @@ export const DraggableBox = function DraggableBox({
|
|||
setDragging(false)
|
||||
onDragStop(e, id, direction, currentLayout, currentLayoutOptions)
|
||||
}}
|
||||
cancel={`div.table-responsive.jet-data-table, div.calendar-widget`}
|
||||
onDragStart={(e) => e.stopPropagation()}
|
||||
enableResizing={mode === 'edit'}
|
||||
onResizeStop={(e, direction, ref, d, position) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue