Skip to content

v3.4.0 Update viewBox cache on resize

Compare
Choose a tag to compare
@bumbu bumbu released this 21 Nov 22:14
· 81 commits to master since this release

Now resize method should behave in a more expected manner. See #185

This may be a breaking change for some apps that are relying on some constraints to be maintained when calling resize. Old behavior was wrong.
There were 2 solutions to this issue:

  • destroying and reinitializing the plugin
  • dynamically updating the constraints (min/max)

The number of affected apps should be minimal. Those apps could stay on 3.3.x until they'll be able to update.