How do you use this with the backdrop component?
See original GitHub issueFeature Request
It’d be really helpful if there were more examples in the docs, ie how do I use this with the backdropComponent
? Because this doesn’t seem to work
<BottomSheet
ref={postActions}
index={0}
snapPoints={useMemo(() => [0, '25%'], [])}
onChange={handleSheetChanges}
backdropComponent={<BottomSheetBackdrop />}
>
...
</BottomSheet>
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:10 (3 by maintainers)
Top Results From Across the Web
How to use Backdrop Component in ReactJS? - GeeksforGeeks
The backdrop component is used to provide emphasis on a particular element or parts of it. Material UI for React has this component...
Read more >Backdrop React Component - Material UI - MUI
The backdrop component is used to provide emphasis on a particular element or parts of it. The backdrop signals to the user of...
Read more >Introduction to Backdrop component in Material-UI React
Backdrop component of Material-UI: Backdrop is used to show a dimmed layout over the current window. We can use this to show a...
Read more >How to add Backdrop that overlays single component such as ...
I have a table within a Paper component that I'm doing server-side pagination/loading and I want to display an overlay just over the...
Read more >material-ui-backdrop-component examples - CodeSandbox
Learn how to use material-ui-backdrop-component by viewing and forking material-ui-backdrop-component example apps on CodeSandbox.
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
The backdrop is used like this:
backdropComponent={BottomSheetBackdrop}
.However, there is a bug I believe. The backdrop is capturing all events and not bubbling up. i.e. touches are not happening.
Repro steps
I can get around this with hot reloading
@Johan-dutoit true , however this backdrop also used with bottom sheet modal where it should block the view 🤷♂️
one thing for sure, is that i need to document this better 👍