samvera-labs / openseadragon-react-viewer

A React wrapper around the OpenSeadragon viewer which extends viewer functionality.
https://samvera-labs.github.io/openseadragon-react-viewer/
27 stars 7 forks source link

Refine URL hash zoom and tile source param behavior #34

Closed adamjarling closed 4 years ago

adamjarling commented 4 years ago

Description

When using the viewer in a react application with deepLinking configured, the hash parameters for zoom, pan, and tilesource remain in the browser url when changing routes (to a route which may not use the viewer). The url params should clean up when the viewer component unmounts.

image

Done looks like

adamjarling commented 4 years ago

Closed via #35