mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 07:16:33 -04:00
prevent insubstantial LAST_USED_INPUT on page focus
This commit is contained in:
parent
2922ded7bc
commit
b8c8c4aebe
|
|
@ -553,7 +553,7 @@ function onPageFocus(elem: HTMLElement): boolean {
|
|||
elem = elem.shadowRoot
|
||||
? (elem.shadowRoot.activeElement as HTMLElement)
|
||||
: elem
|
||||
if (isTextEditable(elem)) {
|
||||
if (isTextEditable(elem) && isSubstantial(elem)) {
|
||||
LAST_USED_INPUT = elem
|
||||
}
|
||||
const setting =
|
||||
|
|
|
|||
Loading…
Reference in a new issue