[WEB-2802]fix: dorpdown visibility issue in safari (#6151)
* filters drop down fix safari * added comments for translation * fixed drop down visibility issue
This commit is contained in:
parent
1b92a18ef8
commit
d537e560e3
1 changed files with 8 additions and 1 deletions
|
|
@ -93,7 +93,14 @@ const CustomMenu = (props: ICustomMenuDropdownProps) => {
|
|||
useOutsideClickDetector(dropdownRef, closeDropdown, useCaptureForOutsideClick);
|
||||
|
||||
let menuItems = (
|
||||
<Menu.Items data-prevent-outside-click={!!portalElement} className={cn("fixed z-10", menuItemsClassName)} static>
|
||||
<Menu.Items
|
||||
data-prevent-outside-click={!!portalElement}
|
||||
className={cn(
|
||||
"fixed z-10 translate-y-0",
|
||||
menuItemsClassName
|
||||
)} /** translate-y-0 is a hack to create new stacking context. Required for safari */
|
||||
static
|
||||
>
|
||||
<div
|
||||
className={cn(
|
||||
"my-1 overflow-y-scroll rounded-md border-[0.5px] border-custom-border-300 bg-custom-background-100 px-2 py-2.5 text-xs shadow-custom-shadow-rg focus:outline-none min-w-[12rem] whitespace-nowrap",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue