Merge branch 'fix/widget-boundaries-persist' into 'release'
Fix widget boundaries persist issue - FIX for - Widget boundaries persisted after dropping a new widget See merge request theappsmith/internal-tools-client!251
This commit is contained in:
commit
075269e5b7
|
|
@ -26,6 +26,8 @@ import {
|
|||
useWidgetSelection,
|
||||
useWidgetDragResize,
|
||||
} from "utils/hooks/dragResizeHooks";
|
||||
import { useSelector } from "react-redux";
|
||||
import { AppState } from "reducers";
|
||||
|
||||
/* eslint-disable react/display-name */
|
||||
export const ResizableComponent = memo((props: ResizableComponentProps) => {
|
||||
|
|
|
|||
|
|
@ -68,10 +68,12 @@ const WidgetCard = (props: CardProps) => {
|
|||
isDragging: monitor.isDragging(),
|
||||
}),
|
||||
begin: () => {
|
||||
console.log("begun!");
|
||||
showPropertyPane && showPropertyPane(undefined);
|
||||
setIsDragging && setIsDragging(true);
|
||||
},
|
||||
end: () => {
|
||||
setIsDragging && setIsDragging(false);
|
||||
},
|
||||
});
|
||||
|
||||
const iconType: string = props.details.type;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user