Closed
Description
Summary 💡
The Popper component is missing the equivalent of the marginThreshold prop of the Popover.
As we are trying to revamp the Popover component, I think we must port this feature back. We have seen in #413 and mui/mui-x#10009 that this prop matters, we can't get away without it.
Examples 🌈
-
Radix UI solves this with a custom
collisionPadding
prop on the Popper.
Motivation 🔦
Great UX.
This also connects a bit with the effort to modernize the Popper component of mui/material-ui#32587 (comment).
cc @michaldudak
Metadata
Metadata
Assignees
Projects
Status
Done