diff --git a/superset-frontend/src/dashboard/components/dnd/DragDroppable.jsx b/superset-frontend/src/dashboard/components/dnd/DragDroppable.jsx index bce458dfe6f71..b5b7373f40a59 100644 --- a/superset-frontend/src/dashboard/components/dnd/DragDroppable.jsx +++ b/superset-frontend/src/dashboard/components/dnd/DragDroppable.jsx @@ -79,7 +79,9 @@ const DragDroppableStyles = styled.div` preview expands outside of the bounds of the drag source card, see: https://github.com/react-dnd/react-dnd/issues/832#issuecomment-442071628 */ - transform: translate3d(0, 0, 0); + &.dragdroppable--edit-mode { + transform: translate3d(0, 0, 0); + } &.dragdroppable--dragging { opacity: 0.2; @@ -180,6 +182,7 @@ export class UnwrappedDragDroppable extends React.PureComponent { data-test="dragdroppable-object" className={cx( 'dragdroppable', + editMode && 'dragdroppable--edit-mode', orientation === 'row' && 'dragdroppable-row', orientation === 'column' && 'dragdroppable-column', isDragging && 'dragdroppable--dragging',