Capture keyup events in the extension so they dont propogate up to apps that have keyboard bindings

This commit is contained in:
Jackson Harper
2023-11-14 18:54:34 +08:00
parent 4894df56ef
commit 4aad6d241d

View File

@ -397,6 +397,13 @@
e.stopPropogation()
}
})
root.addEventListener('keyup', (e) => {
e.cancelBubble = true
if (e.stopPropogation) {
e.stopPropogation()
}
})
}
function createLabelRow(label) {