Merge pull request #3127 from omnivore-app/fix/extension-capture-keyup

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-16 11:49:09 +08:00 committed by GitHub
commit d29b9802d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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