[up-keep]
element with a destructor would throw an error.[up-keep]
element would lose its jQuery event handlers when it was kept.up.log.disable()
did not persist through page reloads.up.reveal()
would scroll too far if the viewport has a padding-top
.up.reveal()
would not scroll to an element at the bottom edge of the visible area
if up.layout.config.snap
is set.The spacing around a modal dialog is longer implemented as a margin
of .up-modal-dialog
.
It is now a padding of .up-modal-viewport
. This makes it easier to set the width
or max-width
of the dialog box.
If your project has custom Unpoly styles, you should grep your CSS files for changes to the margin
of .up-modal-dialog
and set it as a padding
on .up-modal-viewport[flavor=default]
instead.
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.