-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
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
[Menu Item] Not rendered properly with RightIcon on FF 45.0.1 #3845
Comments
Confirmed in HEAD @3d9007b |
@mbrookes This is a bug in firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=874718 https://drafts.csswg.org/css-flexbox-1/#abspos-items
|
Should we fix it anyways by changing our approach? |
Nice 🔍 on the FF bug and cause. 👍 I'm all for moving to modern web standards (even though we've broken a few other things in older but not ancient browsers as a result), but since this breaks layout in a current browser version, we'll have to rethink this one. @tintin1343 - care to take a look? |
I dug into fixing it while keeping flex, but the main issue is that we're combining a flex parent with absolutely positiong children and depending on that for layout -- which as we can see is not working as intended in firefox. As long as Otherwise you end up having to patch a ton of |
@mbrookes @nathanmarks : Let me take shot here. I had fixed this for chrome when I was working on the PR. If its too much work , will need to fix it some other way. |
@tintin1343 IMO you are best of rolling back your previous changes and fixing the other issue without converting |
@nathanmarks : You are right. I just made some changes and checked it. The "absolute" positioning is the culprit and also ListItem is completely messed up component. @mbrookes @nathanmarks : I will revert back my previous changes. |
@tintin1343 thanks, can you please submit a PR first reverting the previous changes? And then approach the problem from the start line again 👍 |
Problem Description
MenuItem is not rendered properly with RightToggle on FF 45.0.1, see screenshots taken from your official documentation :
Versions
v0.15.0-alpha.2
Works fine on Chrome
The text was updated successfully, but these errors were encountered: