ajenkins / ajenkins/react-native-dynamic-deck-swiper

Refactor to a functional component and use hooks

Aberta
#2 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement help wanted
Linguagem predominante
JavaScript
Estrelas
14
Forks
3
Métricas de merge de PRs
Métricas de PR pendentes

Descrição

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).

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.