ajenkins / ajenkins/react-native-dynamic-deck-swiper
Refactor to a functional component and use hooks
Ouverte
enhancement
help wanted
- Langage dominant
- JavaScript
- Étoiles
- 14
- Forks
- 3
- Métriques de merge des PR
- Métriques de PR en attente
Description
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).
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.