developit / simple-element-resize-detector

Observes element size changes using a hidden iframe
189 stars 7 forks source link

Fix Firefox visiblity issue #8

Closed NekR closed 5 years ago

NekR commented 6 years ago

Fixes #6. I use this solution in production.

NekR commented 6 years ago

Oops. Bad copy-paste..

NekR commented 6 years ago

@developit I'm checking for pointerEvents in document.documentElement right now, but we can move everything to the exported function and then it will be possible to check on the iframe. Or at least move PE check in there.

What do you think?

NekR commented 6 years ago

Okay, I actually went ahead with the best way I think it would be. Sorry for the spam..

NekR commented 6 years ago

@developit ping?

developit commented 5 years ago

this is one of my slowest PR reviews