react-infinite-virtual-scroll
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -67,2 +67,3 @@ "use strict"; | ||
// scrollTop must be clamped since in some browser it may drop below zero | ||
// TODO: reading scrollTop cause reflow, how to avoid it ? | ||
var scrollTop = Math.max(0, container.scrollTop); | ||
@@ -69,0 +70,0 @@ while (scrollTop < state.topSpace && loopCount++ < MAX_LOOP_COUNT) { |
{ | ||
"name": "react-infinite-virtual-scroll", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "infinite virtual scroll with react and async iterator", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
# React Infinite Virtual Scroll | ||
demo: [github page](https://buhichan.github.io/react-infinite-virtual-scroll/demo) | ||
demo: [github page](https://buhichan.github.io/#/virtual-scroll-demo) | ||
@@ -5,0 +5,0 @@ # Why |
@@ -5,2 +5,3 @@ { | ||
"target": "es5", | ||
"declaration": true, | ||
"jsx": "react", | ||
@@ -7,0 +8,0 @@ "sourceMap": true, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
281
18519