diff --git a/client/src/components/shared/Layout/Layout.tsx b/client/src/components/shared/Layout/Layout.tsx index 359e7088b7..1b274c4d14 100644 --- a/client/src/components/shared/Layout/Layout.tsx +++ b/client/src/components/shared/Layout/Layout.tsx @@ -61,7 +61,7 @@ const Layout: FC = ({ const topBarWrapperEl = topBarWrapperRef.current; const listener = e => { - if (e.target.body.className === 'bodyFixed') { + if (e.target.body.className === 'bodyFixed' || window.scrollY < 0) { return; } const { offsetTop, clientHeight } = topBarWrapperEl;