souporserious/react-view-pager

fix animations when viewsToShow is greater than 1

Open

#37 opened on Nov 30, 2016

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (46 forks)github user discovery
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

Contributor guide