We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 952a19e commit 41f8164Copy full SHA for 41f8164
src/js/modules/ResizeTable/ResizeTable.js
@@ -111,7 +111,7 @@ export default class ResizeTable extends Module{
111
112
initializeVisibilityObserver(){
113
this.visibilityObserver = new IntersectionObserver((entries) => {
114
- this.visible = entries[0].isIntersecting;
+ this.visible = entries[entries.length - 1].isIntersecting;
115
116
if(!this.initialized){
117
this.initialized = true;
0 commit comments