-
-
Notifications
You must be signed in to change notification settings - Fork 233
Closed
Labels
scope: popoverThis is the name of the generic UI component, not the React module!This is the name of the generic UI component, not the React module!type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.
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
Londeren and oliviertassinari
Metadata
Metadata
Assignees
Labels
scope: popoverThis is the name of the generic UI component, not the React module!This is the name of the generic UI component, not the React module!type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.
Projects
Status
Recently completed