After install "nodebb-plugin-sso-beer-qq", my server crashed and nginx return code 502.
After reset all plugins, my server is back to normal again.
After loading a topic, sometime (really often) the page scrolls to top automatically even if I navigate to a post anchor. It is really annoying and I noticed that it happens also in this forum. Reviewing the core code I saw the guilty lines:
app.processPage = function () {
...
setTimeout(function () {
window.scrollTo(0, 1); // rehide address bar on mobile after page load completes.
}, 100);
};
File: public/src/app.js:241
I suppose those lines should only be executed on a mobile (Well, the 'scroll to top' could happen too)
Example: https://community.nodebb.org/topic/180/who-is-using-nodebb/110
That link should scroll directly to the #110 post, and it does, but right after, scroll to the top of the page.
@psychobunny In my experience, window.scrollTo(0, 1);
didn't actually remove the address bar on my phone -- should we move this code altogether?
Please, any solution for this?
@psychobunny @julian
Thanks