Skip to content

Commit

Permalink
Merge pull request #18654 from KDSBrowne/bbb-styles-menu-a11y
Browse files Browse the repository at this point in the history
fix (accessibility): Improve Keyboard Functionality With Tldraw Style Menu
  • Loading branch information
ramonlsouza committed Aug 28, 2023
2 parents ee89a64 + 4e8965b commit ab14ed5
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -597,6 +597,11 @@ export default function Whiteboard(props) {
tldrawAPI?.selectAll();
}
break;
case KEY_CODES.ARROW_DOWN:
case KEY_CODES.ARROW_UP:
event.preventDefault();
event.stopPropagation();
break;
default:
}
};
Expand Down

0 comments on commit ab14ed5

Please sign in to comment.