akveo / akveo/react-native-ui-kitten

Limited nature of the ViewPager element.

Aperta
#1,684 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
:bulb: Proposal
Lingua principale
TypeScript
Stelle
10.7k
Fork
962
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## 🚀 Feature Proposal

Separate the internal implementation for ViewPager for web and mobile platforms, as the web does not have the ability to support FlatList/ScrollView etc., ViewPager now has limited functionality than before

## Motivation

At the moment it is limited in its functionality, you cannot use the bounce effect as you did before when it was written via ScrollView/Flatlist

## Example
```
const cards = [1, 2, 3]

setSelectedIndex(index)}>
{[...cards].map((item, index) => renderItem(item, index))}

```

You cant scroll first item with the right swipe, it will be static, the same will be with last element in array.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.