🔍Mirador Carries the Zoom Across Pages — preserveViewport Defaults and the @latest Pitfall
In Mirador, moving to the next page carries the previous page's zoom level and pan position over. That is the behavior of osdConfig.preserveViewport, whose default is true (it lives under osdConfig, not window). It has been true across Mirador 3.3.0 through 4.0.0, while the unreleased main branch has it as false. This post covers what the setting does and where it is controlled in the source, why resetting (false) is more natural when canvas sizes vary per page, and the pitfall of mirador@latest moving the default behavior under you — plus the fix: pin the version and set the option explicitly.