You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mark, hello.
Thank you for your work. The theme is great.
I want to point out that switching themes (dark - light) does not work properly for navbar.
To get the theme switching error, you need to scroll down the page, switch the theme, go back up and try to switch again.
the error is related to <nav class="navbar p-4 navbar-fixed-top navbar-expand-lg" data-bs-theme="dark" style="--bs-navbar-expanded-color: var(--bs-body-bg);">
namely the value of the variable
data-bs-theme="dark"
data-bs-theme="light"
in versions where everything worked correctly
the value was data-bs-theme="null"
(in the position of the page scroll up)
to fix it, you need to edit the navbar.js file
responsible code
if (defaultTheme) {
navbar.setAttribute('data-bs-theme', defaultTheme)
}
the specified incorrect work is easily reproduced on gethinode.com
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Mark, hello.
Thank you for your work. The theme is great.
I want to point out that switching themes (dark - light) does not work properly for navbar.
To get the theme switching error, you need to scroll down the page, switch the theme, go back up and try to switch again.
the error is related to
<nav class="navbar p-4 navbar-fixed-top navbar-expand-lg" data-bs-theme="dark" style="--bs-navbar-expanded-color: var(--bs-body-bg);">
namely the value of the variable
data-bs-theme="dark"
data-bs-theme="light"
in versions where everything worked correctly
the value was data-bs-theme="null"
(in the position of the page scroll up)
to fix it, you need to edit the navbar.js file
responsible code
if (defaultTheme) {
navbar.setAttribute('data-bs-theme', defaultTheme)
}
the specified incorrect work is easily reproduced on gethinode.com
Beta Was this translation helpful? Give feedback.
All reactions