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
It looks like the logic must re-traverse the dom every time the page is scrolled to find out if the submenu item is currently on screen - and then apply the active class. I'd start by removing this to see if it clears up the fps.
If that helps, then I'd find a way to cache the submenu items in an array or append some attribute to each so that they can be identified more easily than having to use an expensive query selector each time.
Hi, I am including about 15 style sheets with 2 or 3 sections on each file and I am experiencing poor performance when I scroll up and down.
Has anyone had this happen to them and is there a fix? I would really like to continue using Kalei.
Thanks
The text was updated successfully, but these errors were encountered: