We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6df6f68 commit 86ba92eCopy full SHA for 86ba92e
src/with-size.js
@@ -259,7 +259,7 @@ function withSize(config = defaultConfig) {
259
this.detector.listenTo(this.domEl, this.checkIfSizeChanged)
260
} else if (
261
(this.domEl.isSameNode && !this.domEl.isSameNode(found)) ||
262
- (!this.domEl.isSameNode && this.domEl !== found)
+ this.domEl !== found
263
) {
264
this.uninstall()
265
this.domEl = found
0 commit comments