mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-24 12:26:07 +08:00
Exit insert mode when opening package search
This commit is contained in:
parent
ac40179266
commit
9f14beaf7b
1 changed files with 4 additions and 0 deletions
|
|
@ -521,6 +521,10 @@ const Session = {
|
|||
this.setInsertMode(true);
|
||||
}
|
||||
|
||||
if (event.target.closest(`[data-btn-package-search]`) && this.insertMode) {
|
||||
this.setInsertMode(false);
|
||||
}
|
||||
|
||||
const evalButton = event.target.closest(
|
||||
`[data-el-queue-cell-evaluation-button]`
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue