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

Refactor to a functional component and use hooks

未关闭
#2 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement help wanted
主要语言
JavaScript
星标
14
派生
3
PR 合并指标
PR 指标待抓取

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。