a previous PR #897 caused a regression on a cell with a select dropdown (like Slick.Editors.YesNoSelect), the regression was caused by the implementation of Draggable allowDragFromClosest which will check if current DOM element is .slick-cell or if not it will also try its parent and that caused the regression because the cell with the editor also had a .slick-cell and so the code taught that the user started a drag and it cancelled event bubbling which in turn also prevented the select dropdown to be clickable.
to fix this issue we need to make sure that the cell is queried not just with div.slick-cell but also with certain CSS classes, we need to check if it has either .dnd or .cell-reorder to permit the dragging
Slick.Editors.YesNoSelect
), the regression was caused by the implementation of DraggableallowDragFromClosest
which will check if current DOM element is.slick-cell
or if not it will also try its parent and that caused the regression because the cell with the editor also had a.slick-cell
and so the code taught that the user started a drag and it cancelled event bubbling which in turn also prevented the select dropdown to be clickable.div.slick-cell
but also with certain CSS classes, we need to check if it has either.dnd
or.cell-reorder
to permit the dragging