mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
Fixes query panel resizing issue (#1841)
This commit is contained in:
parent
0f2a658876
commit
efca1f32ba
1 changed files with 4 additions and 4 deletions
|
|
@ -149,9 +149,10 @@ class Editor extends React.Component {
|
|||
};
|
||||
|
||||
onMouseDown = () => {
|
||||
this.setState({
|
||||
isQueryPaneDragging: true,
|
||||
});
|
||||
this.state.isTopOfQueryPane &&
|
||||
this.setState({
|
||||
isQueryPaneDragging: true,
|
||||
});
|
||||
};
|
||||
|
||||
onMouseUp = () => {
|
||||
|
|
@ -982,7 +983,6 @@ class Editor extends React.Component {
|
|||
height: `calc(100% - ${this.state.queryPaneHeight}%)`,
|
||||
width: !showLeftSidebar ? '85%' : '',
|
||||
left: !showLeftSidebar ? '0' : '',
|
||||
// transition: 'height 0.3s ease-in-out',
|
||||
cursor: this.state.isQueryPaneDragging || this.state.isTopOfQueryPane ? 'row-resize' : 'default',
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in a new issue