-
-
Notifications
You must be signed in to change notification settings - Fork 32.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
[base-ui][docs] Placement rendering error in the Popup demos #40910
Comments
Hey there @EyaOuenniche; thanks for opening the issue! I don't see the problem, though — top/bottom-start and end look correct to me. How visually different were you expecting it to be?
|
Thank your for your response. |
I agree, yeah! And it is that way already, no? In the top-start example, the popup container is anchored at the left edge of the "Anchor" button, similarly to the top-end (anchored to the right). |
I understand yes |
Yes I understand . |
Sweet — do you still think there's a problem or can we close the issue? |
No, everything is clear now |
Steps to reproduce
Link to live example: https://mui.com/base-ui/react-popup/
Steps:
1.Go to the Base UI Popup component demo.
2.Set the placement to "top-start."
3.Observe that the pop-up appears at the top-end instead.
Current behavior
The demo for the Base UI Popup component appears to have an issue with placement rendering. When selecting the placement as "top-start," the pop-up is displayed at the top-end instead. Similarly, when choosing "top-end," the pop-up appears at the top-start. The same issue occurs for placements related to the bottom.
2024-02-03.18-10-32.mp4
Expected behavior
I expect the pop-up placement in the demo to match the selected placement setting. For example, when choosing "top-start," the pop-up should appear at the top-start position, not top-end.
Context
No response
Your environment
npx @mui/envinfo
Search keywords: Bug , Demo, Placement, Popup , Base UI
The text was updated successfully, but these errors were encountered: