mirror of https://github.com/logseq/logseq
enhance(mobile): just close left sidebar when editing mode from keyboard rising
parent
1b879d49e5
commit
ce545f41d1
|
@ -223,7 +223,8 @@
|
|||
|
||||
|
||||
(defmethod handle :mobile/keyboard-will-show [[_]]
|
||||
(when (state/get-left-sidebar-open?)
|
||||
(when (and (state/get-left-sidebar-open?)
|
||||
(state/editing?))
|
||||
(state/set-left-sidebar-open! false)))
|
||||
|
||||
(defmethod handle :mobile/keyboard-did-show [[_]]
|
||||
|
|
Loading…
Reference in New Issue