mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Close highlight modal on click/tap outside
This commit is contained in:
parent
8978ff68f7
commit
049a5cf22f
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ export function HighlightsModal(props: HighlightsModalProps): JSX.Element {
|
|||
<ModalContent
|
||||
onPointerDownOutside={(event) => {
|
||||
event.preventDefault()
|
||||
props.onOpenChange(false)
|
||||
}}
|
||||
css={{ overflow: 'auto', p: '0' }}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in a new issue