Denis Rul

Results 13 comments of Denis Rul

Hi! I just wanted to say that there are several issues in current implementation: - _document.resizeObservers_ - this list is not supposed to be available to the JS part as...

@callumlocke, thanks for your interest. I'll go straight to answering your questions: > Am I right in assuming the MutationObserver method will work on all the green browsers on caniuse?...

@callumlocke well, I've finally added this semblance of a benchmark test: https://jsfiddle.net/que_etc/gaqLe8rn/ Can't really say if its results are relevant but they show a neglectable difference with MutationObserver slowing down...

Added a test case which utilizes Mutation Events as I've been thinking of completely replacing polling with them. It's peculiar that they outperform MutationObserver when used in IE11.

@nikolovp You need to use the default export of the `resize-observer-polyfill` module: ```javascript import ResizeObserver from 'resize-observer-polyfill'; //... ```

@nikolovp Please, add `esModuleInterop` to your config file: ```json5 { "compilerOptions": { // ... "esModuleInterop": true } } ```

Oh, I definitely need to take my time to think about it. Thanks!

Well, I have to admit that I don't really get it. For all I know, the native ResizeObserver implementation fires notifications between Layout and Paint events. So, what do you...

@EcutDavid Could you please give a link to codepen?

@trusktr, thanks for reviewing this issue! > I noticed that clientWidth and clientHeight seems to round values to the nearest pixel integer (0.49 -> 0)... Exactly for this reason client...