Stacked progress bars don't use transitions when updated
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 175k
- Forks
- 78.6k
- Avg merge
- 7h 19m
- Merged PRs (30d)
- 35
Description
Prerequisites
- I have searched for duplicate or closed issues
- I have validated any HTML to avoid common problems
- I have read the contributing guidelines
Describe the issue
Stacked progress bars using the new ".progress-stack" class change their width instantly when updated with Javascript rather than using a transition like they did (and still do) with the old style. This produces an undesirable visual effect when changing the width by more than a minuscule amount.
Reduced test cases
https://stackblitz.com/edit/bootstrap-5-qckpcxzb?file=src%2Findex.html
What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Firefox
What version of Bootstrap are you using?
5.3.7
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.
Research direction
Start with the linked StackBlitz reduced test case, especially src/index.html, and reproduce the update behavior in Firefox with Bootstrap 5.3.7. Trace how the .progress-stack bars receive width changes and compare them with the old stacked progress-bar behavior. Done means JavaScript updates visibly transition the stacked bars rather than changing width instantly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100