Skip to content

Commit 617a779

Browse files
committed
fix(ui): prevents navbar jump when notification drawer opens
1 parent 56b4ae0 commit 617a779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/shared/NotificationDrawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function NotificationDrawer(props: NotificationDrawerProps) {
2525
}
2626

2727
return (
28-
<Dialog open={props.open} onOpenChange={(open) => !open && props.onClose()} modal>
28+
<Dialog open={props.open} onOpenChange={(open) => !open && props.onClose()} modal preventScroll={false}>
2929
<Dialog.Portal>
3030
<Dialog.Overlay class="drawer-overlay fixed inset-0 bg-black/50 z-[70]" data-testid="notification-overlay" />
3131
<Dialog.Content class="drawer-content fixed top-0 right-0 h-full w-80 sm:w-96 bg-base-100 shadow-xl z-[71] flex flex-col">

0 commit comments

Comments
 (0)