viewer icon indicating copy to clipboard operation
viewer copied to clipboard

Next and Previous not updating the URL correctly on first switch

Open vchrizz opened this issue 4 years ago • 0 comments

Describe the bug When viewing images and clicking on Next or Previous, the URL in the browser is not updated to the actually shown image. It is beeing updated only after Next or Previous is clicked a second time. You can click Next, Previous, Next, Previous and so on without the URL beeing updated. Click Next, then Next again and the URL is correctly updated. Also click Previous, then Previous again to see the correct URL updated to the currently displayed image.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'files'
  2. Click on a folder with some images, open some image
  3. Notice the URL and hit Next once, then hit Previous
  4. Notice no change in URL altough another image is shown.

Expected behavior Expected to see the correct URL to the actual shown image. This happens only when clicking Next or Previous more than just once.

Screenshots Not really applicable, but can be made on request.

Desktop

  • OS: Windows / MacOS
  • Browser: Chrome, Firefox, Safari

Smartphone

  • OS: Android
  • Browser stock browser

Browser log No log output when switching Next or Previous.

Additional context With Firefox(default installation) on Linux the URL is not refreshed at all, even after hitting Next or Previous multiple times.

vchrizz avatar Apr 03 '21 20:04 vchrizz