souporserious/react-view-pager
View on GitHubfix animations when viewsToShow is greater than 1
Open
#37 opened on Nov 30, 2016
bughelp wanted
Repository metrics
- Stars
- (294 stars)
- PR merge metrics
- (PR metrics pending)
Description
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