hoisting support in mobile view WIP

This commit is contained in:
zadam
2022-12-13 16:57:46 +01:00
parent 2957e1d78a
commit ca968a9e31
10 changed files with 63 additions and 52 deletions

View File

@@ -190,16 +190,20 @@ export default class Entrypoints extends Component {
toastService.showMessage("Note executed");
}
hideAllTooltips() {
hideAllPopups() {
$(".tooltip").removeClass("show");
if (utils.isDesktop()) {
$(".aa-input").autocomplete("close");
}
}
noteSwitchedEvent() {
this.hideAllTooltips();
this.hideAllPopups();
}
activeContextChangedEvent() {
this.hideAllTooltips();
this.hideAllPopups();
}
async forceSaveNoteRevisionCommand() {