Fix keyboard dnd messing with roving tabindex
This commit is contained in:
parent
40f9302ec9
commit
6a40dfea40
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue