Stop propogation of escape event to prevent going back from the reader
This commit is contained in:
@ -186,6 +186,7 @@ export function SetLabelsModal(props: SetLabelsModalProps): JSX.Element {
|
||||
onEscapeKeyDown={(event) => {
|
||||
props.onOpenChange(false)
|
||||
event.preventDefault()
|
||||
event.stopPropagation()
|
||||
}}
|
||||
>
|
||||
<VStack distribution="start" css={{ height: '100%' }}>
|
||||
|
||||
Reference in New Issue
Block a user