3 ms·
Even with JS, if it is classical synchronous JS it is much better than the modern blind push for async JS, which causes the browser to try to restore the positi
by o11c 11mo ago
Even with JS, if it is classical synchronous JS it is much better than the modern blind push for async JS, which causes the browser to try to restore the position before the JS has actually created the content.
- nextaccountic 11mo agoisn't there a way to instruct the browser to restore the position only after certain async thing?
- kuekacang 11mo agoI think the hack is to store html height/width locally and restore it as early as possible so the content will then load under the scrolled view