bug: ion-progress-bar transition cannot be overridden
See original GitHub issueBug Report
Ionic version:
[ ] 4.x [x] 5.x
Current behavior:
When having quick data value updates (< 150ms), the ion-progress-bar components “jumps” back since the transition of the progress element has not finished yet. Since no CSS vars are used for that and there is no chance to use slots for injecting a progress element, that you can apply custom CSS rules to, there is no possibility to change the transition-duration
.
Please see this video (dropbox link) for a demonstration.
Expected behavior:
Possibility to change transition-duration
for ion-progress-bar via CSS vars.
Steps to reproduce:
- Add an
ion-progress-bar
component to a template. - Bind the
data
attribute to a local property. - Create a loop (e.g. via setInterval) with a short update interval (< 150ms) to manipulate the bound property.
- See the
ion-progress-bar
component tremble.
Repository with demo/reproduction code:
https://github.com/JZubero/ion-progress-bar-Issue-21820
Ionic info:
Ionic:
Ionic CLI : 6.10.1 (/home/js/.nvm/versions/node/v10.15.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.3.0
@angular-devkit/build-angular : 0.803.28
@angular-devkit/schematics : 8.3.28
@angular/cli : 8.3.28
@ionic/angular-toolkit : 2.2.0
Capacitor:
Capacitor CLI : 2.2.0
@capacitor/core : 2.2.0
Utility:
cordova-res (update available: 0.15.1) : 0.14.0
native-run : 1.0.0
System:
NodeJS : v10.15.0 (/home/js/.nvm/versions/node/v10.15.0/bin/node)
npm : 6.14.6
OS : Linux 5.4
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
ion-progress-bar doesn't show correctly when inside a ...
I've done a #loading template with an ion progress bar inside, but it doesn't show on the footer of the page (nor in...
Read more >Animations - Ionic Framework
Ionic apps use Web Animations API to build and run animations. Learn how this utility lets developers build complex animations in a platform...
Read more >ION Management Module (IONMM)
Revised for ION Rel. 1.2.1 with: 1) Increased Rate Limiting options. 2) SNMPv3. 3) BOOTP IP ad- dressing. 4) Strict Priority Queuing.
Read more >react-circular-progressbar - npm
Animating progressbar upon component mount or upon visible ... To animate the progressbar only when it becomes visible (e.g. if it's below the ......
Read more >signature=14611b395b980b0944234a35b2c772db,ionic-framework ...
5.3.3 (2020-09-17)Bug Fixesdatetime: do not reset to am when changing hour ... modal: allow swipe to close animation to be overridden (#20585) (8d3ce8d), ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you for the issue! We have added CSS Shadow Parts to the Progress bar in #22938. It can be used like the following:
This will be in the
5.6.0
release. 🙂Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.