erikringsmuth/app-router
在 GitHub 查看core-animated-pages multiple paths match same app-route
Open
#44 创建于 2014年12月5日
bugdesign discussionhelp wanted
描述
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...