-
Notifications
You must be signed in to change notification settings - Fork 710
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
MenuFlyout submenu should align to its origin menu item #1462
Comments
@chigy should we remove the top/bottom padding on the menu? That would make this easy to solve. :) |
No, that was already discussed with design and decided they do not want the padding removed. |
Hmm ... ok, do you have a comp for what it should look like? @karenbtlai was suggesting that it might look unbalanced/misaligned in other states if we try to shift the flyout position to address this. |
@karenbtlai , Could you explain what the problem might be? |
I'm not sure if there's a way to do this with just style/template changes. In theory a negative Margin could do it, but IIRC we used to have that and removed it because of some shadow stuff. Is that right, @kaiguo? |
I think negative margins were removed because the way we positioning popup changed, and we switched to vertical/horizontal offset instead. Looks like we don't want to remove the top padding, and don't want to shift flyout position either, what's the suggested change? |
I believe @chigy is requesting to change the flyout position. Is that possible in WinUI today? |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
When opening a MenuFlyout submenu, the submenu items should vertically align with the origin menu item. It seems that the padding at the top of MenuFlyout isn't currently accounted for.
Image posted by @chigy in #1445
The text was updated successfully, but these errors were encountered: