Skip to content

Releases: juggle/resize-observer

v2.4.0

26 Oct 22:13
Compare
Choose a tag to compare
  • Removes RAF overrides
  • Uses micro tasks to schedule recalculations

v2.3.0

31 Jul 12:33
Compare
Choose a tag to compare
  • Adds safe global object
  • Removes window references
  • Supports loading of library in non-browser environments

v2.2.1

22 Jul 18:56
Compare
Choose a tag to compare
  • Remove IE transpilation wording from readme

v2.2.0

15 Jul 11:02
Compare
Choose a tag to compare

This version includes fixes for many of the Web Platform Tests and pre-transpiles code so that no polyfills or conversion is needed for IE11 and other older browsers.

  • No longer observes non-replaced inline elements (#57).
  • Supports different writing modes and returns correct values for inline/block sizes (#59).
  • Scope change: observer.callback.this = observer (#58).
  • Library is now pre-transpiled to ES5. Modules are still ESM (#39).

v2.2.0-pre.0

12 Jul 21:00
Compare
Choose a tag to compare
v2.2.0-pre.0 Pre-release
Pre-release
2.2.0-pre.0

v2.0.3

17 Jun 13:15
Compare
Choose a tag to compare
  • Add module field to package.json

v2.0.2

12 Jun 09:46
Compare
Choose a tag to compare
  • Republished version to npm as lib folder was missing.
    Thanks to @mvsde for spotting this!

v2.0.0

07 Jun 15:16
Compare
Choose a tag to compare

Update the shape of the ResizeObserverEntry to match the latest version of the spec.

entry = {
  target: <element>,
  contentRect: { /* v1 backwards compat */ },
  borderBoxSize: { inlineSize, blockSize },
  contentBoxSize: { inlineSize, blockSize }
}
  • Removes support for scroll-box.
  • Removes support for device-pixel-border-box. This will be added when/if defined in the spec.
  • Updates contentSize to contentBoxSize.

v1.3.0

10 Apr 09:32
Compare
Choose a tag to compare

Fixes issues where animations/transitions were not initially being noticed.

v1.2.0

10 Apr 09:31
Compare
Choose a tag to compare
1.2.0