This is an automated email from the ASF dual-hosted git repository. michaelsmolina pushed a commit to branch 3.1 in repository https://gitbox.apache.org/repos/asf/superset.git
commit 3919651b0ad51a6f8237473579a03cd278fcf5ef Author: Ross Mabbett <[email protected]> AuthorDate: Fri Mar 22 00:36:17 2024 -0400 fix(Dashboard): Add editMode conditional for translate3d fix on charts to allow intended Fullscreen (#27613) (cherry picked from commit 842b0939f6a182a8f7d3c7c893200d93be3a4b0c) --- superset-frontend/src/dashboard/components/dnd/DragDroppable.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/superset-frontend/src/dashboard/components/dnd/DragDroppable.jsx b/superset-frontend/src/dashboard/components/dnd/DragDroppable.jsx index 92a3ab5636..ed14ba0742 100644 --- a/superset-frontend/src/dashboard/components/dnd/DragDroppable.jsx +++ b/superset-frontend/src/dashboard/components/dnd/DragDroppable.jsx @@ -82,7 +82,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; @@ -217,6 +219,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',
