Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

ZIndex configuration through provide not working correctly

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

まだ誰も着手していません。

評価

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

調査の方向性

リンクされている CodeSandbox の再現例と PrimeReact の設定ドキュメントから始め、次に dialog と toast の zIndex 値が指定されているアプリファイルを調べます。重なり順の問題を再現し、指定された設定がそれらのコンポーネントにどのように到達するかを追跡します。文書化された設定が使用され、toast が dialog のオーバーレイより上に表示されれば完了です。

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

説明

Describe the bug

When attempting to configure the zIndex behavior for prime to keep toasts from displaying behind dialogs it does not seem to properly accept this configuration. Using configuration from docs: https://primereact.org/configuration/

Reproducer

https://codesandbox.io/p/sandbox/intelligent-haslett-jz2ddt

System Information
System:
    OS: macOS 26.5
    CPU: (10) arm64 Apple M4
    Memory: 71.41 MB / 24.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.19.4 - /Users/{{username}}/.nvm/versions/node/v20.19.4/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.8.2 - /Users/{{username}}/.nvm/versions/node/v20.19.4/bin/npm
  Browsers:
    Brave Browser: 147.1.89.132
    Chrome: 148.0.7778.216
    Firefox: 149.0.2
    Safari: 26.5
  npmPackages:
    primereact: 10.9.8 => 10.9.8
    react: 18.3.1 => 18.3.1
Steps to reproduce the behavior
  1. Open reproducer
  2. Notice the toasts are behind the blurred overlay of the dialog despite manual configuration of dialog and toast zIndex in the app file
Expected behavior

zIndex configuration respected, toasts above dialog

主要言語
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 を短くまとめたダイジェスト。