Updated scrollable_list intersectionObserverWrapper
removed root, uses the document/window to scroll so no options are needed
This commit is contained in:
parent
399891f25e
commit
08f3f5f6ec
@ -116,10 +116,7 @@ export default class ScrollableList extends PureComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
attachIntersectionObserver () {
|
attachIntersectionObserver () {
|
||||||
this.intersectionObserverWrapper.connect({
|
this.intersectionObserverWrapper.connect();
|
||||||
root: this.node,
|
|
||||||
rootMargin: '300% 0px',
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
detachIntersectionObserver () {
|
detachIntersectionObserver () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user