3 ms·
Scroll highjacking can be done to avoid partial content being displayed on the screen. You know those pages with several 100% height slides? They don't look as
by tambourine_man 10y ago
Scroll highjacking can be done to avoid partial content being displayed on the screen.
You know those pages with several 100% height slides? They don't look as nice if there's a bit of the previous one showing at the top or the next one at the bottom.
But yeah, it sucks, we all agree with that.
We need this to be done in CSS, something like body { scroll-step : 100%; }
What I don't understand is scroll highjacking in something like Google AMP.
It replicates the browsers default behavior, only poorly. No tap the menu bar to scroll to the top, motion sickness inducing acceleration, etc
- afandian 10y agoSurely the navigation should be decoupled from scrolling. I think this happens because people try to shoe-horn multiple pages into one page. IMHO these should be separate pages, not one page with pseudo-subpage content. You could use mouse events, or click buttons, or touch events to navigate between them. Perhaps this comes out of the hinterland between touchscreen scrolling and gesturing. What if I want to zoom in or out on the slide for reasons of accessibility?