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

ScrollPanel scrollbar calculations are incorrect

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

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

評価

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

調査の方向性

リンクされたGitLab reproducerをクローンして実行し、その小さいコンテンツと大きいコンテンツの切り替えを使って、両軸におけるScrollPanelのスクロールバー計算を確認します。overflowに関係するScrollPanelのエントリポイントを追跡し、コンテンツサイズにかかわらず100%でスクロールバーがコンポーネントの境界内に収まることを確認して修正を検証します。

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

説明

Status: Needs Triage
Describe the bug

When content exceeds a certain size in either the horizontal or vertical axis, the scroll bar calculation becomes incorrect and overflows the component boundaries at 100%.

Reproducer

https://gitlab.com/stackhound/primereact-scrollpanel-bug

System Information
System:
    OS: Linux 5.15 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
    CPU: (32) x64 13th Gen Intel(R) Core(TM) i9-13900KF
    Memory: 26.06 GB / 31.26 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 20.17.0 - /home/nrhruch/.nvm/versions/node/v20.17.0/bin/node
    npm: 10.8.2 - /home/nrhruch/.nvm/versions/node/v20.17.0/bin/npm
    pnpm: 9.11.0 - /home/nrhruch/.local/share/pnpm/pnpm
  npmPackages:
    primereact: ^10.9.7 => 10.9.7 
    react: ^19.2.0 => 19.2.3
Steps to reproduce the behavior

I have it in a gitlab project right now. You can clone and run it. Toggle between small and large content to see the issue.

Expected behavior

The scrollbars should calculate its position correctly regardless of content size.

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