{"action":"closed","issue":{"url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues/3613","repository_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End","labels_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues/3613/labels{/name}","comments_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues/3613/comments","events_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues/3613/events","html_url":"https://github.com/zooniverse/Panoptes-Front-End/issues/3613","id":214722733,"number":3613,"title":"Closing a stubtask forces the subject to scroll to the top of the image","user":{"login":"simensta","id":7684729,"avatar_url":"https://avatars2.githubusercontent.com/u/7684729?v=3","gravatar_id":"","url":"https://api.github.com/users/simensta","html_url":"https://github.com/simensta","followers_url":"https://api.github.com/users/simensta/followers","following_url":"https://api.github.com/users/simensta/following{/other_user}","gists_url":"https://api.github.com/users/simensta/gists{/gist_id}","starred_url":"https://api.github.com/users/simensta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simensta/subscriptions","organizations_url":"https://api.github.com/users/simensta/orgs","repos_url":"https://api.github.com/users/simensta/repos","events_url":"https://api.github.com/users/simensta/events{/privacy}","received_events_url":"https://api.github.com/users/simensta/received_events","type":"User","site_admin":false},"labels":[{"id":97537806,"url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-16T14:28:11Z","updated_at":"2017-03-16T15:23:01Z","closed_at":"2017-03-16T15:23:01Z","body":"## Expected behavior\r\nAfter completing a subtask (i.e., clicking or pressing enter on the \"Ok\" button), the subject image should not move. \r\n\r\n## Current behavior\r\n_Please include any error messages from the browser console and/or screenshots_\r\nIf an image extends outside the viewport through the workflow config `'configuration.image_layout':['no-max-height']`, when a subtask modal is closed, the image scrolls back to the top of the screen. \r\n\r\n## Steps to replicate\r\nYou can see this on [Decoding the Civil War](https://www.zooniverse.org/projects/zooniverse/decoding-the-civil-war/classify) transcription task. \r\n1. Scroll down to the bottom of the image\r\n2. Draw a line, then close the subtask modal\r\n3. The image will scroll back to the start.\r\n\r\n## Additional information\r\n\r\n- **Operating system:** Mac OS\r\n- **Browser:** Chrome\r\n"}}
{"actor":{"display_login":"simensta"}}