-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with page refresh #74
Comments
You are right. These browsers remember the scroll position of the |
Could you try this for now? window.onbeforeunload = function () {
localStorage.setItem('scrollTop', $('.content-body').scrollTop());
};
$('.content-body').scrollTop(localStorage.scrollTop || 0); |
yes it works, it's just that it’s bad on js problem if you remove the height, then everything is fine, but the left panel does not work |
I know, it is not the better solution. :/ Maybe the real solution involves changing the CSS hierarchy. I will work on this in the next couple of weeks. |
Thank you, I will wait for changes |
If you refresh the page from anywhere F5 or ctrl+R, it always flips up, is there any way to fix this?
Chrome and firefox desktop
The text was updated successfully, but these errors were encountered: