Skip to content

[EuiProgress] Missing animation on progress bar update - regression #7523

Closed

Description

@prcdpr

Describe the bug
I've recently upgraded from EUI v37 to v93.
It seems that in the meantime, the animation for EuiProgress was lost.
I suspect: 21a24c3

src/components/progress/_progress.scss had

  &::-webkit-progress-value {
    transition: width $euiAnimSpeedNormal linear;
  }

  &::-moz-progress-bar {
    transition: width $euiAnimSpeedNormal linear;
  }

Impact and severity
Low impact.
Workaround:

.euiProgress[class*="euiProgress-native"]::-webkit-progress-value {
  transition: width 250ms linear;
}

.euiProgress[class*="euiProgress-native"]::-moz-progress-bar {
  transition: width 250ms linear;
}

Environment and versions

  • EUI version: v93
  • Browser: Chrome, Firefox

To Reproduce
Steps to reproduce the behavior:

  1. Open https://eui.elastic.co/#/display/progress#progress-with-values
  2. Click Toggle progress

Expected behavior
When updated, progress bar should animate increments.

Activity

  1. added
    ⚠️ needs validation
    on Feb 12, 2024
  2. removed
    ⚠️ needs validation
    on Feb 20, 2024
  3. cee-chen commented on Feb 20, 2024

    @cee-chen
    Contributor

    Grabbing this as part of my support week this week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions