These are chat archives for chandu0101/scalajs-react-components
MuiDrawerfor the drawer itself. Then inside that I did originally have an array of
checkedproperty to show selection - that works but to be honest I think it looks a little bit weird, and the drawer is not really a menu. Looking at the Material-UI docs page, they use a
ListItems, which look nicer. I was thinking that
ListItemwould have a
selectedproperty but they don't - I guess in plain Material-UI the selection is controlled by the
SelectableList.valueproperty? Without that,
ListItemdoesn't really seem to do selection...
MuiMenuItemactually - on Material-UI menu docs there is space on menu items for the checkmark, so the text doesn't move around when you check/uncheck an entry, but
MuiMenuItemdoesn't have that, so it just jumps across when selected, which looks bad.
insetChildrento true to allow space for the check, when it's not there :)