erikringsmuth/app-router

core-animated-pages multiple paths match same app-route

Open

#44 ouverte le 5 déc. 2014

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)HTML (83 forks)batch import
bugdesign discussionhelp wanted

Métriques du dépôt

Stars
 (608 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

This is an extension of PR https://github.com/erikringsmuth/app-router/pull/43 from @sohjsolwin.

Example router.

<app-router core-animated-pages transitions="cross-fade-all">
  <app-route path="/first" element="first-page"></app-route>
  <app-route path="/second" element="second-page"></app-route>
  <app-route path="/page/:pageNum" element="third-page"></app-route>
</app-router>

Paths /page/1 and /page/2 will both match the last route. The transition between these two pages won't be animated because setting coreAnimatedPages.selected = 3 doesn't change the page.

This may require a big re-think of the app-router / core-animated-pages implementation...

Guide contributeur