ajenkins / ajenkins/react-native-dynamic-deck-swiper
Refactor to a functional component and use hooks
Aperta
enhancement
help wanted
- Lingua principale
- JavaScript
- Stelle
- 14
- Fork
- 3
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
For some reason I couldn't get this to work so I gave up. Every time the state updated the position get reset, even though it was wrapped in a useRef. This resulted in a bug where the card would snap back to the center while you were dragging it, every time you passed the card over the mid-line (which triggered setSwipeDirection).
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.