souporserious/react-view-pager

fix animations when viewsToShow is greater than 1

Open

#37 aperta il 30 nov 2016

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (46 fork)github user discovery
bughelp wanted

Metriche repository

Star
 (294 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Right now when animations are defined, the origin only works for the 1st view rather than all of the views in frame. We need to make sure the origin accounts for viewsToShow. This is the relevant line of code we need to change https://github.com/souporserious/react-view-pager/blob/master/src/Pager.js#L26

Guida contributor