-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
scope: listChanges related to the listChanges related to the listscope: stylesSpecific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.
Description
Hi!
I click on the 'Click and jump' item and it jumps up, but if I click on the checkbox, then all is well.
If I disable overflow property, then item come back.
Item with secondaryText works correct.
I use material-ui 0.9.1 and last Google Chrome 43.
import React from 'react';
import mui, {List, ListItem, Checkbox, TextField} from 'material-ui';
const ThemeManager = new mui.Styles.ThemeManager();
export default React.createClass({
childContextTypes: {
muiTheme: React.PropTypes.object
},
getChildContext() {
return {
muiTheme: ThemeManager.getCurrentTheme()
};
},
render: function() {
return (
<div>
<List>
<ListItem leftCheckbox={<Checkbox />} secondaryText='without jump'>
Click and stay
</ListItem>
<ListItem leftCheckbox={<Checkbox />}>
Click and jump
</ListItem>
</List>
</div>
);
}
});Metadata
Metadata
Assignees
Labels
scope: listChanges related to the listChanges related to the listscope: stylesSpecific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.
