TW-Elements icon indicating copy to clipboard operation
TW-Elements copied to clipboard

Scrollspy missaligns on reload via anchor

Open SergejGleithmann opened this issue 1 year ago • 1 comments

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

SergejGleithmann avatar Jan 18 '24 16:01 SergejGleithmann

Hi @SergejGleithmann, thanks for reporting this bug. I've added this to our repository.

iprzybysz avatar Jan 19 '24 05:01 iprzybysz