resize-observer-polyfill icon indicating copy to clipboard operation
resize-observer-polyfill copied to clipboard

A polyfill for the Resize Observer API

Results 58 resize-observer-polyfill issues
Sort by recently updated
recently updated
newest added

It appears that in current implementation refresh won’t be triggered when a font is loaded, and elements’ resize caused by the font load won’t be detected. Is this assumption correct,...

The ResizeObserver polyfill does not invoke callbacks for observers of elements inside of web components when display attribute changes. I've reproduced this in Safari and FF, with a [small demo...

So this is a PR attempting to optimize (many times doing micro optimizations) the final bundle. I've checked the bundle size by executing: ``` npm run build && npx terser...

In function ResizeObserverSPI.prototype.observe, it checks to see if target is an instance of Element. If target is from another window, this fails as it would need to check against the...

Test: https://ericportis.com/etc/ResizeObserver-polyfill-resize-bug/ The box should turn yellow when wider than the red line. It does in Chrome and Firefox, but doesn’t in Safari (until I resize the viewport).

bug

There is the case when node that should be observed placed inside of iframe that will be detached in some cases. In Chrome it will work just fine because defaultView...

I found two other approaches mentioned in the README: - [the iframe/object approach](https://github.com/KyleAMathews/element-resize-event/blob/master/index.js#L54) - [the scroll approach](https://github.com/sdecima/javascript-detect-element-resize/blob/master/jquery.resize.js)

This polyfill looks great. I'm trying to decide whether it's worth using on my project. I would appreciate a bit more context for this: > Implementation is based on the...

question

Hi, I am new to typescript and I hit a problem with _resize-observer-polyfill_. When I try to make an instance of ResizeObserver I get: **TS2351: Cannot use 'new' with an...

question

Really great polyfill! I noticed that when element is resized by some operations from CSSOM like `stylesheet.insertRule` are missed by `MutationObserver`s. See this [pen](https://codepen.io/Justineo/pen/eyPemO).