mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Stop propogation of escape event to prevent going back from the reader
This commit is contained in:
parent
34f48e255f
commit
fbae77d3c6
1 changed files with 1 additions and 0 deletions
|
|
@ -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%' }}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue