Using the MiU component "Expansion panel", I encountered an issue. By default, when the user hovers over the panel, the cursor is set to pointer
. I attempted to change it to a default
cursor, but my modification did not work.
The code for my component is as follows:
<ExpansionPanel>
<ExpansionPanelSummary
className={classes.expansionPanelSummary}
>
....rest of the code...
</ExpansionPanelSummary>
</ExpansionPanel>
Here is my styles.js:
expansionPanelSummary: {
cursor: 'default',
'&:hover': {
cursor: 'default'
},
padding: theme.spacing(1, 3, 1, 3)
}
https://i.stack.imgur.com/TUtyL.png
Upon inspecting the page, the CSS shows cursor: "default"
, yet the cursor behavior remains unchanged.