Line Component Rendering Incorrectly at Non-100% Zoom in Safari
還沒有人認領這個 Issue。
評估
- 難度
- 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
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 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
-
effort:S priority:P2
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
dam-agents/dam#4562 ·
維護者通常 1 天內回覆
-
bug p3 triaged
難度 2/5 1-3 小時 新手友好度 70/100
維護者通常 1 天內回覆
-
bug javascript P2-medium python release:v3.1
難度 2/5 1-3 小時 新手友好度 68/100
adrirubio/claude-deck#546 ·
維護者通常 1 天內回覆