-
-
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
[Masonry] has NaNpx
height & margin.
#33141
Labels
bug 🐛
Something doesn't work
component: masonry
This is the name of the generic UI component, not the React module!
package: lab
Specific to @mui/lab
Comments
ronaklalwaniii
added
the
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
label
Jun 14, 2022
+1 |
1 similar comment
+1 |
+1 |
Any update? |
hbjORbj
changed the title
Masonary has
[Masonry] has Jun 27, 2022
NaNpx
height & margin.NaNpx
height & margin.
hbjORbj
added
bug 🐛
Something doesn't work
package: lab
Specific to @mui/lab
component: masonry
This is the name of the generic UI component, not the React module!
and removed
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
labels
Jun 27, 2022
I am working on a fix right now. Will update you soon. UPDATE: I just opened a pull request for the fix. |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug 🐛
Something doesn't work
component: masonry
This is the name of the generic UI component, not the React module!
package: lab
Specific to @mui/lab
Duplicates
Latest version
Current behavior 😯
Masonary doesn't respect the columns refer to the attached image.
The problem seems to be with the
height
&margin
ofMuiMasonry-root
class.The
height
&margin
properties haveNaNpx
value refer to the attached image.I have changed the spacing to rem like shown in the docs that's the reason for
NaN
refer to the attached image.What do you suggest to fix this?
Expected behavior 🤔
It should work like a normal Masonary.
Steps to reproduce 🕹
Steps:
Context 🔦
No response
Your environment 🌎
Using chrome browser
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: