OnThisDay: observe size changes
parent
6a37009b02
commit
c6df61b61d
|
@ -91,6 +91,7 @@ export default defineComponent({
|
|||
inner.addEventListener("scroll", this.onScroll.bind(this), {
|
||||
passive: true,
|
||||
});
|
||||
new ResizeObserver(this.onScroll.bind(this)).observe(inner);
|
||||
|
||||
this.refresh();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue