React show Material-UI Tooltip only for text that has ellipsis
问题 Looking for a way to have material-ui's tooltip expand the text in a table cell ONLY if the text is cut off with an ellipsis (overflowing). Currently in my table I have a cell like this: <TableCell className={classes.descriptionCell}>{row.description}</TableCell> and my styling for descriptionCell is like this: descriptionCell: { whiteSpace: 'nowrap', maxWidth: '200px', overflow: 'hidden', textOverflow: 'ellipsis' } This makes the text behave the way I would like it to in this table, but I