Progress Bar - use width instead of scaleX to allow rounded progress bar
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start in core/src/components/progress-bar/progress-bar.tsx at the linked line around 102 and inspect how the progress element is rendered. Verify that changing the progress sizing to width preserves rounded tips without distorting the border radius, and confirm the component still displays the expected progress range.
Written by the indexing model from the issue text.
Description
The scaleX() also scales border-radius. If you use border radius on the top-left and bottom-right to make a round tip to the progress bar, it distorts across the width of the progress bar.
Changing to:
<div part="progress" class="progress" style={{ width: `calc(100% * ${finalValue})` }}></div>,
would scale it similarly without scaling the border-radius
- Dominant language
- TypeScript
- Stars
- 52.7k
- Forks
- 13.3k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 35
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ionic-team/ionic-framework
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ionic-team/ionic-framework#31410 · 1 comment ·
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ionic-team/ionic-framework#31314 ·
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
ionic-team/ionic-framework#31291 ·
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ionic-team/ionic-framework#30738 ·
-
package: core type: bug
Difficulty 1/5 Under an hour Newbie friendliness 72/100
ionic-team/ionic-framework#29864 · 1 comment ·
All issues in ionic-team/ionic-framework
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100