universalviewer icon indicating copy to clipboard operation
universalviewer copied to clipboard

Expanded ranges don't stay open in index navigation

Open wragge opened this issue 1 year ago • 0 comments

UV version:

 [email protected]

I'm submitting a:

  • [x ] bug report => please fork one of these codesandbox examples with a repro of your issue and include a link to it below
  • [ ] feature request => please use the user stories repo
  • [ ] support request => Please do not submit support requests here, use stackoverflow

Current behavior:

When viewing a manifest with nested ranges, the index navigation doesn't work as expected. If you expand a range, then click on one of the items within it, the range immediately closes so you lose your place within the navigation.

Expected behavior:

I would expect expanded ranges to stay expanded unless deliberately closed. You can view the expected behaviour in v3 of UV.

Steps to reproduce:

  • open this manifest in the UV dev demo
  • Click on the 'Index' tab
  • click on + to expand a range
  • click on an item with the range
  • all expanded ranges are closed
  • this also seems to be triggered if you use the arrows to move between canvases

Related code:

// insert any relevant code here

Other information:

wragge avatar May 15 '24 02:05 wragge