Skip to content

Commit

Permalink
[@mantine/core] Popover: Add position fallback to reduce postion shift (
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Oct 22, 2022
1 parent 3b72d1f commit ce0647b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -68,8 +68,8 @@ export function PopoverDropdown({
...style,
...transitionStyles,
zIndex: ctx.zIndex,
top: ctx.y ?? '',
left: ctx.x ?? '',
top: ctx.y ?? 0,
left: ctx.x ?? 0,
width: ctx.width === 'target' ? undefined : ctx.width,
}}
className={cx(classes.dropdown, className)}
Expand Down

0 comments on commit ce0647b

Please sign in to comment.