virtualscroller: fix iOS bounce
@@ -304,7 +304,9 @@ export default class VirtualScroller<T> extends Component<VirtualScrollerProps<T
//ref.scrollIntoView();
const newScrollTop = this.window.scrollHeight - ref.offsetTop - this.savedDistance;
+ this.window.style['-webkit-overflow-scrolling'] = 'auto';
this.window.scrollTop = newScrollTop;
+ this.window.style['-webkit-overflow-scrolling'] = 'touch';
requestAnimationFrame(() => {
this.savedIndex = null;
this.savedDistance = 0;
