resize-observer
resize-observer copied to clipboard
Polyfills the ResizeObserver API.
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.5.0. Release notes Sourced from jsdom's releases. Version 16.5.0 Added window.queueMicrotask(). Added window.event. Added inputEvent.inputType. (diegohaz) Removed ondragexit from Window and friends, per a spec...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Currently the library only listens to mutations on the main document level. This means that any **non-user actioned** DOM changes inside a shadow root will not be noticed. Most of...
Improve the comments in the code to allow for useful code hints in editors.
When observing `device-pixel-content-box` incorrect values could be reported. This is due to pixel pixel rounding/snapping when `devicePixelRatio` is greater than 1. This issue is exaggerated when dragging elements across pixels....
When a window is dragged across screens with different resolutions, no notification is fired when observing `device-pixel-content-box`. To improve this, use `matchMedia` API to watch for resolution changes. ```js matchMedia(`(resolution:...
Supporting added ResizeObserver features and improving the library, has increased the bundle size. As the specification is now at a stable state, it could be a good time to refactor...
Currently the methods on the object are not set to be enumerable and the following code will print nothing. ```js const ro = new ResizeObserver(() => {}); for (let key...