react-component / react-component/trigger
Trigger = "click" breaks mouse interaction with components in it.
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 391
- フォーク
- 245
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
In the example below, I have Popover that contains Select (from react-select). If Popover trigger is set to "click", then trying to select elements in the drop-down list as well as using its drop-down button closes the popover instead of allowing the interaction.
Using keyboard or trigger="hover" are two workarounds that I found that allow to select elements in a drop-down by clicking.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
react-selectを含む、クリックでトリガーされるPopoverを使って、リンク先のCodeSandboxのインタラクションを再現してください。まず、このrepositoryでclick-triggerの処理を追跡し、dropdown内のクリックによってPopoverが閉じる理由を特定してください。dropdownの選択とそのボタンが、予期せずPopoverを閉じることなく機能すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100