Skip to content

Commit

Permalink
Fix for disabled hideScroll
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 committed Feb 9, 2021
1 parent 51d73a0 commit 335aba6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function Navbar(): JSX.Element {
'navbar--primary': style === 'primary',
'navbar-sidebar--show': sidebarShown,
[styles.navbarHideable]: hideOnScroll,
[styles.navbarHidden]: !isNavbarVisible,
[styles.navbarHidden]: hideOnScroll && !isNavbarVisible,
})}>
<div className="navbar__inner">
<div className="navbar__items">
Expand Down

0 comments on commit 335aba6

Please sign in to comment.