Skip to content

Commit

Permalink
fix: slash command auto open (appsmithorg#7977)
Browse files Browse the repository at this point in the history
* Remove onFocus trigger for slash commands.
  • Loading branch information
arunvjn authored Oct 1, 2021
1 parent 223bf01 commit 7acce6e
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,13 +361,6 @@ class CodeEditor extends Component<Props, State> {

handleEditorFocus = () => {
this.setState({ isFocused: true });
const entityInformation = this.getEntityInformation();
if (
entityInformation.entityType === ENTITY_TYPE.WIDGET &&
this.editor.getValue().length === 0 &&
!this.editor.state.completionActive
)
this.handleAutocompleteVisibility(this.editor);
};

handleEditorBlur = () => {
Expand Down

0 comments on commit 7acce6e

Please sign in to comment.