Setting SlideProps for Drawer kills default classes
See original GitHub issueThe following code produces weird result on latest version:
<Drawer
open={isModalOpen}
anchor='left'
type='temporary'
onRequestClose={onMenuClose}
ModalProps={{
className: 'foo__modal',
BackdropClassName: 'foo__backdrop'
}}
SlideProps={{
className: 'foo__slide'
}}
>
...
</Drawer>
Compare:
default: MuiPaper-root-184 MuiPaper-shadow0-186 MuiDrawer-paper-264 MuiDrawer-paperAnchorLeft-265 MuiDrawer-paperAnchorDockedLeft-269
custom: MuiPaper-root-8 MuiPaper-shadow0-10 foo__slide
The expectation is that custom class is appended to all the regular classes.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Setting SlideProps for Drawer kills default classes #10092
Setting SlideProps for Drawer kills default classes #10092 ... The expectation is that custom class is appended to all the regular classes.
Read more >material-ui/core/CHANGELOG.md - UNPKG
402, - [docs] Fix anchor link to using inline vs. classes (#21151) @dandv ... 771, - [ToggleButton] Don't set default for disableRipple prop...
Read more >front-end/node_modules/@material-ui/styles/CHANGELOG.md
A way to get location (latitude and longitude), elevation, speed and other relevant data from individual satellites from the Starlink constellation.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s good! Less possible ways the better.
I don’t know what version you are using but
BackdropClassName
was removed.