zooniverse / front-end-monorepo

A rebuild of the front-end for zooniverse.org
https://www.zooniverse.org
Apache License 2.0
104 stars 30 forks source link

Zooming out on scatter plots doesn't return to original zoom level #2512

Closed adammcmaster closed 2 years ago

adammcmaster commented 2 years ago

Package

lib-classifier, I guess?

Describe the bug

https://www.zooniverse.org/projects/hughdickinson/superwasp-black-hole-hunters/talk/4564/2202805

After I zoom in on a subject, it is not possible to zoom out to the originating level/duration.

To return to the original view, it is necessary to select the "Reset" button on the classification interface's toolbar. I'd expect to be able to use the zoom out button or the mouse wheel in order to set the view just the same as using the Reset button.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://www.zooniverse.org/projects/hughdickinson/superwasp-black-hole-hunters/classify/workflow/17386
  2. Click on the zoom in button a few times.
  3. Click on zoom out until it zooms out all the way.
  4. Click reset and you'll see it didn't zoom back to the original zoom level.

Applicable Panoptes resource IDs (project, workflow, etc) to demonstrate the issue:

Workflow 17386, project 14770

Expected behavior

Zooming out as far as possible should be the same as resetting the subject view.

Device information

Desktop (please complete the following information):

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36

lcjohnso commented 2 years ago

@adammcmaster I'm not able to reproduce this at this time; has the issue been resolved?

adammcmaster commented 2 years ago

Yes, looks like this was fixed at some point. Thanks!