Material-ui: [ListItem] height not growing with avatar

Created on 25 Nov 2015  路  7Comments  路  Source: mui-org/material-ui

If the primaryText is empty (or Number(0) in this case), then the list item height will not be large enough to contain the avatar.
screen shot 2015-11-25 at 1 27 45 pm
screen shot 2015-11-25 at 1 26 01 pm

bug 馃悰 List

All 7 comments

I think it's because we are using absolute positioning and not a flexbox system.

This is still an issue.

Hey, is there a solution dor this already? I'm having the same issue. Thanks!

The issue has been solved on the next branch. I'm closing it. Thanks for the report. We are now relying on the flexbox layout model.

@oliviertassinari Thanks for the news - however may I ask if there is a specific version that this is fixed? I am using "^0.20.1" (had not upgraded because of another dependency) and it seems that I am still encountering this issue.

0.x is no longer maintained.

I see.
Will try to follow the migration guide and use both 1.x and 0.x at parallel then (I assume that 1.x will have the issue fixed)
Thanks anyway!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ericraffin picture ericraffin  路  3Comments

rbozan picture rbozan  路  3Comments

ghost picture ghost  路  3Comments

activatedgeek picture activatedgeek  路  3Comments

TimoRuetten picture TimoRuetten  路  3Comments