2 ms·
Might be missing something here, but shouldn’t native scrolling behavior be obtainable by just letting the browser do its thing instead of manually managing it?
by jwells89 3y ago
Might be missing something here, but shouldn’t native scrolling behavior be obtainable by just letting the browser do its thing instead of manually managing it?
- jeroenhd 3y agoOnly partially, as far as I understand it. To get the "native" scroll on iOS, you need to add a line or two of CSS (-webkit-overflow-scrolling) here and there. It's harder on the slower frameworks (Flutter etc.) where you're basically running a Javascript browser engine inside your browser, so you need to implement that behaviour manually (which usually means "wrongly"). Implementing native back button behaviour is more annoying, requiring you to hook into the browser navigation mechanism.