3 ms·
Yes, sorry about that. We currently can’t scroll on the body element due to a limitation in Chrome, where an empty body layer is not being optimized. So we are
by asurma 10y ago
Yes, sorry about that.
We currently can’t scroll on the body element due to a limitation in Chrome, where an empty body layer is not being optimized. So we are scrolling in an element. However, that usually requires setting `-webkit-overflow-scrolling: touch;` so that you can scroll as usual on iOS. However, that in turn has a lot of hidden implications (like squashing layers, etc. Don’t know the details right now), that make performance suffer greatly.
AFAIK, Safari will change their scroll-on-element behavior. Let’s see what the future brings.