universalviewer
universalviewer copied to clipboard
uri fragment "xywh" applies to combination of pages when two-page-view is enabled
UV version:
universalviewer@3
I'm submitting a:
- [x] bug report
- [ ] feature request => please use the user stories repo
- [ ] support request => Please do not submit support requests here, use stackoverflow
Current behavior:
Expected behavior:
Steps to reproduce:
- use a manifest that has viewingHint
paged - make sure pageMode is enabled in the configuration of the UV.
- set the fragment parameter
cvto the index of a canvas within the manifest that is shown in a two-page-view at the right side - set the fragment parameter
xywhto any (valid) value
What happens: xywh is interpreted as the coordinates of the "whole",
and not of the canvas itself. As a result the left page is focused and not
the right page.
Possible consequence is that this introduces more complexity to calculate the right coordinates at runtime when replacing the uri.
Related code:
// insert any relevant code here
Other information: