mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Fix 'Dialog' keydown event and prop type warning (#1305)
This commit is contained in:
parent
020eebb663
commit
26facfa710
4 changed files with 58 additions and 45 deletions
|
@ -26,6 +26,7 @@ export function Modal(props: {
|
|||
aria-modal="true"
|
||||
onKeyDown={handleKeydown}
|
||||
aria-labelledby={props.labelledBy}
|
||||
tabIndex={-1}
|
||||
>
|
||||
<div className="Modal__background" onClick={props.onCloseRequest}></div>
|
||||
<div
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue