Polymer core transitions for animated pages with core list content

前端 未结 1 447
一整个雨季
一整个雨季 2021-01-05 11:47

Following on from this question I further evolved the demo messages example in an attempt to create page transitions between two pages with core-lists.

I\'m trying t

1条回答
  •  庸人自扰
    2021-01-05 12:11

    First, there's no slide-from-left transition. You will need to remove everything related to it in your code.

    I have found that the hero-transition doesn't work well with slide-from-right transition. A possible alternative would be, wrap those two paper-fabs in another core-animated-pages.

        
            
            
            
            
        
    
    
    
        

    Please see this jsbin for reference. Notice that the paper-fabs move just like they are animated with a slide transition ('cause hero-transition animates the shape and position between elements, in this case, the animation transition should look identical to a slide one)! So maybe, you don't need to apply the hero-transition at all?

    0 讨论(0)
提交回复
热议问题