forked from Shiloh/remnantchat
fix: prevent peer list from obscuring room
This commit is contained in:
parent
3c647d0312
commit
37250fddf5
@ -36,10 +36,15 @@ export const PeerList = ({
|
|||||||
<MuiDrawer
|
<MuiDrawer
|
||||||
sx={{
|
sx={{
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
|
pointerEvents: 'none',
|
||||||
|
width: peerListWidth,
|
||||||
'& .MuiDrawer-paper': {
|
'& .MuiDrawer-paper': {
|
||||||
width: peerListWidth,
|
width: peerListWidth,
|
||||||
boxSizing: 'border-box',
|
boxSizing: 'border-box',
|
||||||
},
|
},
|
||||||
|
...(isPeerListOpen && {
|
||||||
|
pointerEvents: 'auto',
|
||||||
|
}),
|
||||||
}}
|
}}
|
||||||
variant="persistent"
|
variant="persistent"
|
||||||
anchor="right"
|
anchor="right"
|
||||||
|
Loading…
Reference in New Issue
Block a user