yocontra/react-responsive

NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

sgentile opened this issue · 2 comments

I'm getting this error when I resize the browser

MediaQueryList.updateMatches
/dist/react-responsive.js:205
  202 | }
  203 | var self = this;
  204 | if (dynamicMatch && !forceStatic) {
> 205 |     var mql = dynamicMatch.call(window, query);
      | ^  206 |     this.matches = mql.matches, this.media = mql.media, mql.addListener(update);
  207 | } else this.matches = staticMatch(query, values), this.media = query;
  208 | this.addListener = addListener, this.removeListener = removeListener, this.dispose = dispose;

@sgentile Can you post a reproduction on codepen?