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