meliorence/react-native-snap-carousel

Multiple active items in each screen

Open

#102 aperta il 26 lug 2017

Vedi su GitHub
 (46 commenti) (10 reazioni) (0 assegnatari)JavaScript (2223 fork)batch import
*featurehelp wantedreact-native bug

Metriche repository

Star
 (10.045 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Would it be possible to have multiple items at one slide just like Apple Music:

Would the right approach be to change data such that all elements are grouped with two elements in each group and then print the two elements side-by-side when rendering each item?

However, Airbnb has the same feature where no items are active, but you can only scroll such that two elements are always visible. Can the same behaviour be achieved with the right size options with react-native-snap-carousel?

Guida contributor