Closed
Description
Hi there,
I'm trying to use your library but I'm getting an error:
Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
at HTMLBodyElement. (ElementQueries.min.js:421)
This is line 421:
var sensorStyles = window.getComputedStyle(element.resizeSensor, null);
So.. element.resizeSensor is not an element. I just checked and it's actually undefined :(
Any clue what's wrong?