callstack / callstack/react-native-pager-view

Curl not working properly

オープン
#236 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
3.4k
フォーク
476
平均マージ
10日 21時間
マージ済み PR(30日)
2

説明

The curl effect it's not working properly for me. When you start sliding, it always goes on the X axis,
![image](https://user-images.githubusercontent.com/42002579/96164741-098c5b80-0ef2-11eb-821c-1095f5052389.png)

Has someone else also experience this?
```
props.onStartShouldSetResponder()}
pageMargin={0}
orientation={'horizontal'}
scrollEnabled={true}
transitionStyle={'curl'}
onPageSelected={onPageSelected}>
{props.data
.slice(offset, offset + windowLength)
.map((item, index) =>
renderPage(
props.renderItem,
item,
offset + index,
page,
buffer - internalBuffer,
),
)}

```

It's like, it doesn't lean like a page effect

Is someone else also experiencing this problem?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、transitionStyle を curl に設定した、提供された ViewPager 構成を再現し、その動作が iOS、Android、または両方で発生するかを確認します。ジェスチャーの方向を期待される page-curl 効果と比較します。完了の条件は、水平スワイプによって X 軸方向だけの移動ではなく、ページらしいカールが発生することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react-native
領域
mobile
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。