We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8ee2ac1 + 3f096d1 commit d965738Copy full SHA for d965738
1 file changed
app/index.js
@@ -150,9 +150,12 @@ export default class InfiniteScroll extends Component {
150
}
151
152
requestAnimationFrame(() => {
153
- this._infScroll.style.overflow = "auto";
154
- this._infScroll.style.transform = "none";
155
- this._infScroll.style.willChange = "none";
+ // this._infScroll
+ if (this._infScroll) {
+ this._infScroll.style.overflow = "auto";
156
+ this._infScroll.style.transform = "none";
157
+ this._infScroll.style.willChange = "none";
158
+ }
159
});
160
161
0 commit comments