{"action":"created","issue":{"url":"https://api.github.com/repos/ccorcos/meteor-transitioner/issues/19","labels_url":"https://api.github.com/repos/ccorcos/meteor-transitioner/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/ccorcos/meteor-transitioner/issues/19/comments","events_url":"https://api.github.com/repos/ccorcos/meteor-transitioner/issues/19/events","html_url":"https://github.com/ccorcos/meteor-transitioner/issues/19","id":101567068,"number":19,"title":"Detecting Back Button?","user":{"login":"evolross","id":7980725,"avatar_url":"https://avatars.githubusercontent.com/u/7980725?v=3","gravatar_id":"","url":"https://api.github.com/users/evolross","html_url":"https://github.com/evolross","followers_url":"https://api.github.com/users/evolross/followers","following_url":"https://api.github.com/users/evolross/following{/other_user}","gists_url":"https://api.github.com/users/evolross/gists{/gist_id}","starred_url":"https://api.github.com/users/evolross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evolross/subscriptions","organizations_url":"https://api.github.com/users/evolross/orgs","repos_url":"https://api.github.com/users/evolross/repos","events_url":"https://api.github.com/users/evolross/events{/privacy}","received_events_url":"https://api.github.com/users/evolross/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-08-18T04:02:30Z","updated_at":"2015-09-08T12:52:03Z","closed_at":null,"body":"Is there a way to detect a Back button press and call a different transition?  \r\n\r\nI get that I could try to map out specific transitions between routes and because of my app design hitting the back button will look \"right\" in some cases because it will be the logical back route to the current route.  \r\n\r\nFor example, if most of my app transitions with a \"slideRight\" look, it would be nice to always do a \"slideLeft\" when Back is pushed so it appears to be going backward."},"comment":{"url":"https://api.github.com/repos/ccorcos/meteor-transitioner/issues/comments/138550658","html_url":"https://github.com/ccorcos/meteor-transitioner/issues/19#issuecomment-138550658","issue_url":"https://api.github.com/repos/ccorcos/meteor-transitioner/issues/19","id":138550658,"user":{"login":"nicooprat","id":645641,"avatar_url":"https://avatars.githubusercontent.com/u/645641?v=3","gravatar_id":"","url":"https://api.github.com/users/nicooprat","html_url":"https://github.com/nicooprat","followers_url":"https://api.github.com/users/nicooprat/followers","following_url":"https://api.github.com/users/nicooprat/following{/other_user}","gists_url":"https://api.github.com/users/nicooprat/gists{/gist_id}","starred_url":"https://api.github.com/users/nicooprat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicooprat/subscriptions","organizations_url":"https://api.github.com/users/nicooprat/orgs","repos_url":"https://api.github.com/users/nicooprat/repos","events_url":"https://api.github.com/users/nicooprat/events{/privacy}","received_events_url":"https://api.github.com/users/nicooprat/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T12:52:03Z","updated_at":"2015-09-08T12:52:03Z","body":"Ok, got it. Yes, Framework7 looks built to behave like this. Actually I think it's its default usage, there's only an option called `pushState` that change URL when going from page to page. Framework7 supports multiple views with each unique history, and even multiple views in same viewport (for example : http://www.idangero.us/framework7/examples/split-view-panel/).\r\n\r\nSo, in the default configuration, there's no \"real\" back button like in a browser : you either click on the view's back button, on swipe back in this view (don't know what would happen with Android back button though), so it's easy to know which view has to go back.\r\n\r\nAnyway, I agree that native-behavior and web-accessibility are hard to merge :) Iframes to the rescue ? Just kidding... or am I ?"}}