There’s no setting for this at the moment, but you could intercept the keydown event and stop it from propagating if it’s the space bar. For example:
document.querySelector('#root').addEventListener('keydown', function(event) {
if (event.keyCode === 32) { // key code for "space"
event.stopPropagation()
}
})
This stops the key event from propagating to the parent containers – i.e. the document.body
, which the other keydown listeners are attached to.