Skip to content

Commit

Permalink
fixes re-rendering fro widget manager (ToolJet#3818)
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitnath authored Aug 18, 2022
1 parent 6fe5e87 commit 238f59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/Editor/Editor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ class Editor extends React.Component {
};

onAreaSelectionStart = (e) => {
const isMultiSelect = e.inputEvent.shiftKey || this.state.selectedComponents.length > 1;
const isMultiSelect = e.inputEvent.shiftKey || this.state.selectedComponents.length > 0;
this.setState((prevState) => {
return {
selectionInProgress: true,
Expand Down

0 comments on commit 238f59c

Please sign in to comment.