mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 01:18:23 +00:00
fixes: dnd issue for mobile view (#7632)
This commit is contained in:
parent
017782bef3
commit
175ea1b4a5
1 changed files with 7 additions and 0 deletions
|
|
@ -446,6 +446,13 @@ const EditorComponent = (props) => {
|
|||
}
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (mounted) {
|
||||
getCanvasWidth();
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [currentLayout]);
|
||||
|
||||
const computeCanvasContainerHeight = () => {
|
||||
// 45 = (height of header)
|
||||
// 85 = (the height of the query panel header when minimised) + (height of header)
|
||||
|
|
|
|||
Loading…
Reference in a new issue