Fix keyboard dnd messing with roving tabindex

pull/21833/head
Michael Telatynski 2021-09-03 15:10:51 +01:00
parent 40f9302ec9
commit 6a40dfea40
1 changed files with 2 additions and 0 deletions

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) {