TW-Elements
TW-Elements copied to clipboard
Scrollspy missaligns on reload via anchor
Landing on the page with an anchor is now fixed. However reloading the page after having scolled the bar still creates the offset. You can replicate this by going to the scrollspy scroll to the bottom within the window with the scrollspy and then reload the page. The scroll state will keep the same (e.g. remain at the bottom) but the scrollspy will reset to top position.
~~Does one create a new issue for this or could we reopen this one if this is an issue worth investigating? (I am new to this.)~~
Originally posted by @SergejGleithmann in https://github.com/mdbootstrap/TW-Elements/issues/1536#issuecomment-1697534962
Hi @SergejGleithmann, thanks for reporting this bug. I've added this to our repository.