improve tldraw style menu a11y

This commit is contained in:
KDSBrowne 2023-08-27 19:58:06 +00:00
parent ee89a64914
commit 4e8965b218

View File

@ -597,6 +597,11 @@ export default function Whiteboard(props) {
tldrawAPI?.selectAll(); tldrawAPI?.selectAll();
} }
break; break;
case KEY_CODES.ARROW_DOWN:
case KEY_CODES.ARROW_UP:
event.preventDefault();
event.stopPropagation();
break;
default: default:
} }
}; };