diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-07-11 13:46:10 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-07-11 13:46:10 +1000 |
| commit | 1be08d76dd237c67df16bdefc524e606bfba9312 (patch) | |
| tree | a6a7bcc92a986cf738229e1df9fc6c454dceb728 /src/App.vue | |
| parent | 7a28e15874796b3becf97c0193575d906d0cfd01 (diff) | |
Fix search-mode not closing on Esc
Diffstat (limited to 'src/App.vue')
| -rw-r--r-- | src/App.vue | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/App.vue b/src/App.vue index 4285f6a..4f93cee 100644 --- a/src/App.vue +++ b/src/App.vue @@ -63,8 +63,10 @@ <help-modal v-if="helpOpen" :tutOpen="tutPaneOpen" :uiOpts="uiOpts" class="z-10" @close="onHelpClose" @start-tutorial="onStartTutorial"/> </transition> - <settings-modal v-if="settingsOpen" :lytOpts="lytOpts" :uiOpts="uiOpts" class="z-10" - @close="onSettingsClose" @reset="onResetSettings" @setting-chg="onSettingChg"/> + <transition name="fade"> + <settings-modal v-if="settingsOpen" :lytOpts="lytOpts" :uiOpts="uiOpts" class="z-10" + @close="onSettingsClose" @reset="onResetSettings" @setting-chg="onSettingChg"/> + </transition> <transition name="fade"> <loading-modal v-if="loadingMsg != null" :msg="loadingMsg" :uiOpts="uiOpts" class="z-10"/> </transition> @@ -829,7 +831,7 @@ export default defineComponent({ if (this.infoModalNodeName != null){ this.onInfoClose(); } - if (this.searchOpen){ + if (this.searchOpen || this.modeRunning == 'search'){ this.onSearchClose(); } if (this.modeRunning == 'autoMode'){ |
