Skip to content

v5.2.0

Compare
Choose a tag to compare
@davidjbradshaw davidjbradshaw released this 16 Jul 14:59
· 142 commits to master since this release

This release includes a major update the page size calculation code. Now when iframe-resizer detects elements overflowing the root document element, it only needs to check the position of the overflowing elements, rather than every element on the page. In testing this can lead to 1,000 fold improvement in calculation time.

The offset option has been updated to offsetSize to make it clearer, the old version will be supported with a warning in all future v5 releases.

In page links now update the location bar, to enable support of the back button.

What's New

  • Added: Only check overflowed elements in #1278
  • Added: Performance Observer in #1293

What's Changed

  • Added: Alias OffsetSize -> Offset in #1288
  • Enhanced: No response warning to mention waitForLoad option in #1285

What's Fixed

  • Fixed: Set location.hash when navigating inPageLinks in #1287
  • Fixed: window is not defined (ssr) in #1292

Full Changelog: v5.1.5...v5.2.0