chore: fix Safari translucency issues [skip e2e]

This commit is contained in:
Aman Harwara
2023-08-06 23:52:38 +05:30
parent d2f8a36f19
commit 5473829c7e
5 changed files with 5 additions and 14 deletions

View File

@@ -98,7 +98,7 @@ const PositionedPopoverContent = ({
<div
className={classNames(
'absolute left-0 top-0 flex w-full min-w-80 cursor-auto flex-col',
'overflow-y-auto rounded border border-[--popover-border-color] bg-[--popover-background-color] shadow-main md:h-auto md:max-w-xs',
'overflow-y-auto rounded border border-[--popover-border-color] bg-[--popover-background-color] [backdrop-filter:var(--popover-backdrop-filter)] shadow-main md:h-auto md:max-w-xs',
!disableMobileFullscreenTakeover && 'h-full',
overrideZIndex ? overrideZIndex : 'z-dropdown-menu',
!isDesktopScreen && !disableMobileFullscreenTakeover ? 'pb-safe-bottom pt-safe-top' : '',
@@ -109,7 +109,6 @@ const PositionedPopoverContent = ({
{
...styles,
...adjustedStyles,
backdropFilter: 'var(--popover-backdrop-filter)',
} as CSSProperties
}
ref={mergeRefs([setPopoverElement, addCloseMethod])}