Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
prcdpr opened this issue Feb 12, 2024 · 1 comment · Fixed by #7538
Closed

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

prcdpr opened this issue Feb 12, 2024 · 1 comment · Fixed by #7538
Assignees
Labels

Comments

@prcdpr
Copy link

prcdpr commented Feb 12, 2024

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.

@prcdpr prcdpr added bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible labels Feb 12, 2024
@cee-chen cee-chen removed the ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible label Feb 20, 2024
@cee-chen
Copy link
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
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants