mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 15:45:00 +00:00
fix(android): key code nil sometimes
This commit is contained in:
@@ -2780,7 +2780,8 @@
|
||||
value (gobj/get input "value")
|
||||
c (util/nth-safe value (dec current-pos))
|
||||
[key-code k code is-processed?]
|
||||
(if (and (mobile-util/native-android?)
|
||||
(if (and c
|
||||
(mobile-util/native-android?)
|
||||
(or (= key-code 229)
|
||||
(= key-code 0)))
|
||||
[(.charCodeAt value (dec current-pos))
|
||||
|
||||
Reference in New Issue
Block a user