Skip to content
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

fix(web-components): scope submenu fallback positioning to non-anchor browsers only #32000

Merged

Conversation

davatron5000
Copy link
Contributor

Previous Behavior

In an attempt to fix submenu fallback positioning for non-anchor-supported browsers (Safari/Firefox), I broke positioning in Edge/Chrome.

See submenu in last example in Edge/Chrome: https://web-components.fluentui.dev/?path=/docs/components-menu--menu

New Behavior

This scopes the position fallback position rule needed for older browsers into an @supports not rule to fix the regression in Edge/Chrome while still providing support to non-Anchor browsers.

Related Issue(s)

  • Fixes #

@davatron5000 davatron5000 requested a review from a team as a code owner July 15, 2024 16:46
@fabricteam
Copy link
Collaborator

📊 Bundle size report

✅ No changes found

@chrisdholt chrisdholt merged commit 8f7e877 into microsoft:master Jul 15, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants