{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/2703","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/2703/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/2703/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/2703/events","html_url":"https://github.com/Automattic/jetpack/issues/2703","id":106446820,"number":2703,"title":"Viewing images in carousel gallery breaks the back button","user":{"login":"lumpysimon","id":625372,"avatar_url":"https://avatars.githubusercontent.com/u/625372?v=3","gravatar_id":"","url":"https://api.github.com/users/lumpysimon","html_url":"https://github.com/lumpysimon","followers_url":"https://api.github.com/users/lumpysimon/followers","following_url":"https://api.github.com/users/lumpysimon/following{/other_user}","gists_url":"https://api.github.com/users/lumpysimon/gists{/gist_id}","starred_url":"https://api.github.com/users/lumpysimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lumpysimon/subscriptions","organizations_url":"https://api.github.com/users/lumpysimon/orgs","repos_url":"https://api.github.com/users/lumpysimon/repos","events_url":"https://api.github.com/users/lumpysimon/events{/privacy}","received_events_url":"https://api.github.com/users/lumpysimon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/jetpack/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Carousel","name":"Carousel","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/24","html_url":"https://github.com/Automattic/jetpack/milestones/3.8","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/24/labels","id":1238559,"number":24,"title":"3.8","description":"","creator":{"login":"kraftbj","id":88897,"avatar_url":"https://avatars.githubusercontent.com/u/88897?v=3","gravatar_id":"","url":"https://api.github.com/users/kraftbj","html_url":"https://github.com/kraftbj","followers_url":"https://api.github.com/users/kraftbj/followers","following_url":"https://api.github.com/users/kraftbj/following{/other_user}","gists_url":"https://api.github.com/users/kraftbj/gists{/gist_id}","starred_url":"https://api.github.com/users/kraftbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraftbj/subscriptions","organizations_url":"https://api.github.com/users/kraftbj/orgs","repos_url":"https://api.github.com/users/kraftbj/repos","events_url":"https://api.github.com/users/kraftbj/events{/privacy}","received_events_url":"https://api.github.com/users/kraftbj/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":152,"state":"closed","created_at":"2015-08-03T15:09:41Z","updated_at":"2015-11-05T01:42:13Z","due_on":"2015-10-27T05:00:00Z","closed_at":"2015-11-05T01:42:13Z"},"comments":4,"created_at":"2015-09-14T23:21:22Z","updated_at":"2015-11-05T11:25:43Z","closed_at":"2015-10-05T02:19:45Z","body":"When a visitor views a page with a gallery on it, views some images in the carousel, closes the carousel, then clicks the back button, the desired behaviour would be to go to the previous page in the browsing history. However, the individual image URLs that have been viewed are added to the browsing history, so the back button no longer goes to the previous page, but cycles back through each image.\r\n\r\ne.g. https://chagfordfilmfestival.com/photos/2014-batman-v-the-badger/\r\n\r\nClick a couple of images then close the carousel, click the back button, and the browsing history will contain URLs such as https://chagfordfilmfestival.com/photos/2014-batman-v-the-badger/#jp-carousel-511\r\n\r\nI'm fairly sure that in previous versions of Jetpack this was not the case - you would close the carousel gallery and clicking the back button would take you to the previous page."},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/154035536","html_url":"https://github.com/Automattic/jetpack/issues/2703#issuecomment-154035536","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/2703","id":154035536,"user":{"login":"lumpysimon","id":625372,"avatar_url":"https://avatars.githubusercontent.com/u/625372?v=3","gravatar_id":"","url":"https://api.github.com/users/lumpysimon","html_url":"https://github.com/lumpysimon","followers_url":"https://api.github.com/users/lumpysimon/followers","following_url":"https://api.github.com/users/lumpysimon/following{/other_user}","gists_url":"https://api.github.com/users/lumpysimon/gists{/gist_id}","starred_url":"https://api.github.com/users/lumpysimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lumpysimon/subscriptions","organizations_url":"https://api.github.com/users/lumpysimon/orgs","repos_url":"https://api.github.com/users/lumpysimon/repos","events_url":"https://api.github.com/users/lumpysimon/events{/privacy}","received_events_url":"https://api.github.com/users/lumpysimon/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T11:25:43Z","updated_at":"2015-11-05T11:25:43Z","body":"This doesn't look to be fixed in 3.8.0\r\n\r\nIf I navigate to a page with a carousel on it, click an image to open up the overlay, scroll through a few images, close the overlay, then click the back button, the overlay opens up again, rather than directing me back to the page I was on prior to the page with the carousel.\r\n\r\nOr am I misunderstanding the intended behaviour?"}}