Skip to content

Commit 69ac2ca

Browse files
Allow MAB div to be clicked through (pterodactyl#3359)
Allows users to interact with files that are blocked by the div that renders the MassActionbar
1 parent 9c3c5f6 commit 69ac2ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/scripts/components/server/files/MassActionsBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const MassActionsBar = () => {
6363

6464
return (
6565
<Fade timeout={75} in={selectedFiles.length > 0} unmountOnExit>
66-
<div css={tw`fixed bottom-0 z-50 left-0 right-0 flex justify-center`}>
66+
<div css={tw`pointer-events-none fixed bottom-0 z-50 left-0 right-0 flex justify-center`}>
6767
<SpinnerOverlay visible={loading} size={'large'} fixed>
6868
{loadingMessage}
6969
</SpinnerOverlay>
@@ -85,7 +85,7 @@ const MassActionsBar = () => {
8585
onDismissed={() => setShowMove(false)}
8686
/>
8787
}
88-
<div css={tw`rounded p-4 mb-6`} style={{ background: 'rgba(0, 0, 0, 0.35)' }}>
88+
<div css={tw`pointer-events-auto rounded p-4 mb-6`} style={{ background: 'rgba(0, 0, 0, 0.35)' }}>
8989
<Button size={'xsmall'} css={tw`mr-4`} onClick={() => setShowMove(true)}>
9090
<FontAwesomeIcon icon={faLevelUpAlt} css={tw`mr-2`}/> Move
9191
</Button>

0 commit comments

Comments
 (0)