marcj / css-element-queries

CSS Element-Queries aka Container Queries. High-speed element dimension/media queries in valid css.
http://marcj.github.io/css-element-queries/
MIT License
4.27k stars 487 forks source link

FIX: t.resizeSensor.resetSensor is not a function JS error #291

Closed Achara closed 4 years ago

Achara commented 4 years ago

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 commented 4 years ago

Thanks!

Achara commented 4 years ago

Thank you, Marc!

What is the release process for your library and when to expect the next release?

Thanks!

On Mon, Apr 13, 2020 at 7:14 PM Marc J. Schmidt notifications@github.com wrote:

Merged #291 https://github.com/marcj/css-element-queries/pull/291 into master.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/marcj/css-element-queries/pull/291#event-3228881175, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLFTURIFQIOXREAG5LTCJDRMOMFBANCNFSM4L2WO5AQ .