transitions
transitions copied to clipboard
Back Button on Browser
By the way great package, and easy to implement. I'm wondering, if there is anyway to handle transitions of a user hits the back button on their browser.
Thank you!
Hi @magbicaleman. Glad you've found it useful. RE: back button animations, I purposely decided to leave it out of this package (for now at least). Different browsers on different platforms seem to handle how the animations on the browser back button differently. For example, Safari on iPhone adds in its own animation when you go back - which means that if you have a transition it animates the transitions twice.
I guess that the solution would be to detect the platform/browser and take the correct course of action - or at least offer a configuration option. A good example of a package that does animate the back button is http://meteor-ionic.meteor.com/.
UPDATE: I take it back - the "double transition" still occurs when you use the swipe right gesture to go back on the iPhone.
Looks like this guy has the back button stuff figured out as it seems to work nicely on iPhone: https://atmospherejs.com/ccorcos/transitioner http://ccorcos-transitioner.meteor.com/ You might want to have a look and see how he handles it - happy to accept pull requests.