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
The anchor link smooth scroll breaks when the admin bar is disabled because in your frontend.js, you check the admin bar's height. If admin bar doesn't exist, the height() returns null, and the calculated scrollTop is NaN. Adding a default 0 for when admin bar doesn't exist of checking if admin bar exists would fix this.
The text was updated successfully, but these errors were encountered:
The anchor link smooth scroll breaks when the admin bar is disabled because in your frontend.js, you check the admin bar's height. If admin bar doesn't exist, the height() returns null, and the calculated scrollTop is NaN. Adding a default 0 for when admin bar doesn't exist of checking if admin bar exists would fix this.
The text was updated successfully, but these errors were encountered: