What is meant by "native scroll"?
```
window.scrollTo({
left: leftValue, // e.g., element.getBoundingClientRect().left
top: topValue, // element.getBoundingClientRect().top
behavior: "smooth"
});
```
?
On Fri, Jun 21, 2019 at 2:07 PM Adam Eisenreich <[email protected]> wrote:
> Hello everyone. I think browsers should expose the native scroll as API.
>
> Possible uses:
> * Native-like scroll in canvas apps (games) - Google's Proxx (
> https://proxx.app/) had to do quite a bit of magic to have native scroll
> for a game.
> * Camera controls for touch device (3D model preview)
> Gesture recognition (maybe)
> * Infinite scroll (they could get rid of the invisible long div, that
> makes the scrolling inside possible) - Angular virtual scroll
> implementation https://material.angular.io/cdk/scrolling/overview
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss