-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pickers] Popper touch the edge #10009
Comments
I think we depends on a fix in Base UI: mui/base-ui#39. |
I've looked into this case and it seems that having a popper modifier is quite a tricky way to achieve such behavior. slotProps={{
desktopPaper: {
sx: {
mx: 1
}
}
}} |
This also shifts the anchor point no? |
Doesn't seem to shift it in the pickers case. 🤔 Screen.Recording.2023-08-14.at.15.33.30.mov |
You would need to test with a placement like For example, here we see it's 2px off https://mui.com/material-ui/react-tooltip/#positioned-tooltips |
Thanks for pointing it out. |
@LukasTy Oh, yeah, we could do this. It would fix this issue at the same time. But it depends on what default value we go with. If it's 4px to cover the tooltip use case, it won't be enough. |
Steps to reproduce 🕹
Link to live example:
Steps:
Current behavior 😯
The
PickersPopper
open on the very edge.Expected behavior 🤔
Leave a space with the edge
Context 🔦
I first observed this at https://flights.teamout.com/
would it feel much better with some padding?
cc @lildesert
Your environment 🌎
v6.11.1
Order ID or Support key 💳 (optional)
No response
The text was updated successfully, but these errors were encountered: