Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Initializing a google map on on-core-animated-pages-transition-prepare callback causes slide-from-right to fail #26

Open
livtanong opened this issue Oct 6, 2014 · 1 comment

Comments

@livtanong
Copy link

But this effect only happens going forward. The transition works correctly moving backwards, presumably because the google map already exists and doesn't need initialization. hero, cross-fade, and slide-up transitions are unaffected.

Also, in case anyone is wondering why the google map init has to happen during the callback, see #10.

Applying the map init on core-animated-pages-transition-end works.
Applying the map init on a timeout for core-animated-pages-transition-prepare also works.

@ebidel
Copy link
Contributor

ebidel commented Oct 7, 2014

In fact, doing any JS worked in a core-animated-pages-transition-prepare handler causes the forward transition to fail. Here's another example: http://jsbin.com/hibeda/1/edit

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants