Sidebar: Interacting with dropdown inside non modal sidebar closes the sidebar

オープン
#8,407 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

@Coderxrohan がすでに取り組んでいます。

2026年1月3日 から。

評価

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

調査の方向性

リンクされた StackBlitz reproducer を PrimeReact 10.9.7 で開始し、続いて Sidebar と dropdown の操作挙動を追跡します。列挙された各クリックパスを再現し、非モーダルの Sidebar がそれらのイベントをどのように処理するかを確認します;完了条件は、Sidebar がトグル、フィルタリング、項目の選択のために開いたままであることです。

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

説明

Type: Bug
Describe the bug

I have a dropdown within a sidebar configured to be non modal. Clicking on the dropdown toggler, the filter input area or selecting an item from the list causes the sidebar to close.

Reproducer

https://stackblitz.com/edit/vitejs-vite-ym3uphv1?file=src%2FApp.tsx

System Information
primereact: 10.9.7
Steps to reproduce the behavior
  1. Click the "show sidebar" button.
    2a) Click the dropdown toggle button to expand the dropdown.
    2b) Click the foo text in the dropdown then click in the filter input area.
    2c) Click the foo text in the dropdown then click bar to select that value.
    The sidebar closes.
Expected behavior

The sidebar should not close.

主要言語
CSS
スター
8.3k
フォーク
1.2k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

primefaces/primereact のほかの issue

primefaces/primereact の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

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

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