Skip to content

Conversation

Achara
Copy link
Contributor

@Achara Achara commented Apr 2, 2020

When using libraries that have css-element-queries as dependency, this JS error occurs. (Please see the screenshot) In my case, I use amcharts 4 and ember-table libraries in my ember application The JS error refers to t.resizeSensor.resetSensor is not a function. t.resizeSensor.resetSensor seems to be undefined when it is invoked. To prevent this error, I added if condition to invoke only t.resizeSensor.resetSensor is not undefined.

Screen Shot 2020-04-01 at 10 06 57 AM

@marcj marcj merged commit ee21dfe into marcj:master Apr 13, 2020
@marcj
Copy link
Owner

marcj commented Apr 13, 2020

Thanks!

@Achara
Copy link
Contributor Author

Achara commented Apr 14, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants