I have two section links on my page: home and about. Both of them do not work when you are below the respective sections.
When the about link is clicked from the home section, it does scroll properly, but all of the content above is removed, other sections load in late and there is extra space at the bottom.
This only goes back to normal when the home link is clicked. Actually, that is the only instance where the home link works.
What am i doing wrong ?
I will provide code to reproduce it if needed.
Via Active questions tagged javascript - Stack Overflow https://ift.tt/HvpqlRn
Comments
Post a Comment