Skip to content

Commit

Permalink
fix: Added workaround due to adobe/react-spectrum#1513
Browse files Browse the repository at this point in the history
  • Loading branch information
haus23 committed Apr 11, 2024
1 parent bc7fd3d commit f01f43e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/components/ui/popover/popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ const styles = tv({
function _Popover({ className, ...props }: PopoverProps) {
return (
<Popover
ref={(ref) =>
ref?.addEventListener('touchend', (e) => e.preventDefault())
}
offset={8}
className={composeRenderProps(className, (className, renderProps) =>
styles({ ...renderProps, className }),
Expand Down

0 comments on commit f01f43e

Please sign in to comment.