I am using the MiU component "Expasion panel".
When the user hovers over the panel, the default behaviour is to set the cursor to pointer
.
I modified it to display a default
cursor instead.
However, it does not work.
My component:
<ExpansionPanel>
<ExpansionPanelSummary
className={classes.expasionPannelSummary}
>
....rest of the code...
</ExpansionPanelSummary
</ExpansionPanel>
My styles.js
expasionPannelSummary: {
cursor: 'default',
'&:hover': {
cursor: 'default'
},
padding:them.spacing(1,3,1,3)
}
If I inspect the page, on the CSS says cursor: "default"
but it is not.
pointer
option is a hand, are you trying to display the default cursor? If so, you should look at thedefault
option, List cursor of options here – DBSarrow
. I changed alsocursor: "pointer
tocursor: default
, but nothing changes. I updated my initial question, specifing that I need the arrow (default). – Magofococursor: context-menu
– Enchewthe CSS part it is written "default" but it is canceled out
, that means your CSS is being overwritten by some other CSS, which we can't really help with without seeing more of the code. Generally you can see where it's being overwritten by scrolling up in the dev tools until you find where that property is being set. – DBS