Line Component Rendering Incorrectly at Non-100% Zoom in Safari
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
rc-progress の Line component から始め、リンクされた CodeSandbox を使って Safari でズーム率 50% および 100% の状態で問題を再現します。パーセント値が SVG の進捗表示をどのように決定するかを追跡し、その後、100% 以外のズーム率でも 50% などの中間値が正しく塗りつぶされることを、既存の 100% での動作を変更せずに確認します。
索引モデルが issue の本文から書いたものです。
説明
The Line component from rc-progress does not render correctly at non-100% zoom levels (mostly with less than 100%) in Safari.
Specifically:
When the browser zoom is set to 50%, the progress bar does not fill according to the percent value provided.
For example, if percent is 50%, the progress bar should be half-filled, but it shows random or incorrect filling.
This issue does not occur at 100% zoom.
Steps to Reproduce
Open Safari and set the browser zoom to 50%.
Use the Line component from rc-progress with a percent value (e.g., 50%).
Observe that the progress bar does not fill correctly according to the percent value.
Expected Behavior
The Line component should render the progress bar correctly at any zoom level, filling the bar according to the percent value provided.
Actual Behavior
At 50% zoom, the progress bar does not fill correctly. For example:
If percent is 50%, the progress bar may show random or incorrect filling.
If percent is 100%, the progress bar works correctly.
Relevant Screenshots:
For 100% zoom in safari:
For 50% zoom in Safari:
- 主要言語
- TypeScript
- スター
- 706
- フォーク
- 161
- 平均マージ
- 3時間 29分
- マージ済み PR(30日)
- 2
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
react-component/progress のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
react-component/progress#252 ·
-
scss file オープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
react-component/progress#251 ·
-
circle flickers オープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
react-component/progress#250 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
react-component/progress#247 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
react-component/progress#194 ·
react-component/progress の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug v2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/inspector#2458 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
carbon-design-system/ibm-products#9907 ·