twbs / twbs/bootstrap

Stacked progress bars don't use transitions when updated

Open
#41,596 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

confirmed css has-pr v5
Dominant language
MDX
Stars
175k
Forks
78.6k
Avg merge
7h 19m
Merged PRs (30d)
35

Description

Prerequisites
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.