u
This commit is contained in:
@@ -311,7 +311,7 @@ class FillSpace extends Component {
|
|||||||
containerTarget,
|
containerTarget,
|
||||||
];
|
];
|
||||||
for (const el of targets) {
|
for (const el of targets) {
|
||||||
if (el && el.offsetParent !== null) {
|
if (el && typeof Element !== 'undefined' && el instanceof Element && el.offsetParent !== null) {
|
||||||
this.observer.observe(el);
|
this.observer.observe(el);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user