Fix a bug where rendering on the root layer while a focused overlay is closing would crash with an error like this:
up.Error: Must pass an up.Layer as { layer } option, but got undefined
If you're upgrading from an older Unpoly version you should load unpoly-migrate.js
to polyfill deprecated APIs.
Changes handled by unpoly-migrate.js
are not considered breaking changes.
See our upgrading guide for details.