fix: Improve share popover focus behavior

This commit is contained in:
Tom Moor
2021-11-07 15:48:32 -08:00
parent 7bc7d7cd6b
commit 3ac7a839ad
2 changed files with 19 additions and 7 deletions

View File

@@ -60,7 +60,7 @@ function ShareButton({ document }: Props) {
document={document}
share={share}
sharedParent={sharedParent}
onSubmit={popover.hide}
onRequestClose={popover.hide}
visible={popover.visible}
/>
</Popover>