Line Component Rendering Incorrectly at Non-100% Zoom in Safari
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- react, typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Bắt đầu với Line component của rc-progress và tái hiện vấn đề bằng CodeSandbox được liên kết trong Safari ở mức thu phóng 50% và 100%. Theo dõi cách giá trị phần trăm xác định việc hiển thị tiến trình SVG, sau đó xác minh rằng các giá trị trung gian như 50% được tô chính xác ở mức thu phóng khác 100% mà không thay đổi hành vi hiện có ở mức 100%.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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:
- Ngôn ngữ chính
- TypeScript
- Star
- 706
- Fork
- 161
- Merge trung bình
- 3 giờ 29 phút
- Pull request đã merge (30 ngày)
- 2
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của react-component/progress
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
react-component/progress#252 ·
-
scss file Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
react-component/progress#251 ·
-
circle flickers Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
react-component/progress#250 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
react-component/progress#247 ·
-
onHover Functionality Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
react-component/progress#194 ·
Tất cả issue của react-component/progress
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
bug v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
modelcontextprotocol/inspector#2458 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
carbon-design-system/ibm-products#9907 ·