Skip to content

Commit

Permalink
Add default value to collisionBoundary prop
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Sep 3, 2024
1 parent abe5a3e commit a8dd6f9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/mui-base/src/Menu/Positioner/MenuPositioner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const MenuPositioner = React.forwardRef(function MenuPositioner(
alignment = 'center',
sideOffset = 0,
alignmentOffset = 0,
collisionBoundary,
collisionBoundary = 'clippingAncestors',
collisionPadding = 5,
arrowPadding = 5,
hideWhenDetached = false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const PopoverPositioner = React.forwardRef(function PopoverPositioner(
alignment = 'center',
sideOffset = 0,
alignmentOffset = 0,
collisionBoundary,
collisionBoundary = 'clippingAncestors',
collisionPadding = 5,
arrowPadding = 5,
hideWhenDetached = false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const PreviewCardPositioner = React.forwardRef(function PreviewCardPositioner(
alignment = 'center',
sideOffset = 0,
alignmentOffset = 0,
collisionBoundary,
collisionBoundary = 'clippingAncestors',
collisionPadding = 5,
arrowPadding = 5,
hideWhenDetached = false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const TooltipPositioner = React.forwardRef(function TooltipPositioner(
alignment = 'center',
sideOffset = 0,
alignmentOffset = 0,
collisionBoundary,
collisionBoundary = 'clippingAncestors',
collisionPadding = 5,
arrowPadding = 5,
hideWhenDetached = false,
Expand Down

0 comments on commit a8dd6f9

Please sign in to comment.