FormidableLabs / FormidableLabs/react-swipeable

Conflict with type range input

オープン
#197 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
needs example ✋ possible bug 🐛
主要言語
TypeScript
スター
2.1k
フォーク
149
PR マージ指標
30日以内にマージされた PR はありません

説明

**Description of the bug**
An input of type range has a draggable functionality to it which, while being used, shouldn't trigger a swiping event.

**Steps to reproduce**
Insert an type range input inside the parent component with the swipeable handlers and drag the input's "thumb" (left or right, if horizontal, or up and down, if vertical) to change the value.

**Expected behavior**
Swiping over the parent component should trigger a swiping event, but dragging the range input's "thumb" shouldn't.

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

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

調査の方向性

まず、swipeable handlersを使用する親コンポーネント内にtype range inputを配置して問題を再現し、その後、スワイプイベント処理のエントリーポイントを調べます。完了条件は、親コンポーネント上をスワイプすると引き続きスワイプイベントが発生する一方で、range inputのつまみをドラッグしても発生しないことです。

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

評価

技術スタック
react, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

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

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