Fix keyboard dnd messing with roving tabindex

This commit is contained in:
Michael Telatynski 2021-09-03 15:10:51 +01:00
parent 40f9302ec9
commit 6a40dfea40

View file

@ -223,6 +223,8 @@ const SpacePanel = () => {
}, []); }, []);
const onKeyDown = (ev: React.KeyboardEvent) => { const onKeyDown = (ev: React.KeyboardEvent) => {
if (ev.defaultPrevented) return;
let handled = true; let handled = true;
switch (ev.key) { switch (ev.key) {