question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: progress bar stops animation when navigating back from another page (only on ios)

See original GitHub issue

Bug Report

Ionic version: [x] 4.x

Current behavior: A progress bar (ion-progress-bar) stops moving (indeterminate) when navigating to another page and going back to the previous page (the one with the progress bar). This happens only on android - it works on android and in the web.

Expected behavior: ion-progress-bar is animating

Steps to reproduce: Insert a ion-progress-bar to your page. Open a new page from the page. Go back to the previous page using the back button. The progress-bar will stop animating.

Ionic info:

Ionic:

   Ionic CLI                     : 5.4.1
   Ionic Framework               : @ionic/angular 4.9.1
   @angular-devkit/build-angular : 0.801.3
   @angular-devkit/schematics    : 8.1.3
   @angular/cli                  : 8.1.3
   @ionic/angular-toolkit        : 2.0.0

Capacitor:

   Capacitor CLI   : 1.2.1
   @capacitor/core : 1.2.1

Utility:

   cordova-res : 0.6.0
   native-run  : 0.2.7

System:

   NodeJS : v10.15.3 (C:\Program Files\nodejs\node.exe)
   npm    : 6.4.1
   OS     : Windows 10

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
liamdebeasicommented, Sep 26, 2019

^ If you are going to use JavaScript to force a repaint, I’d also recommend wrapping it in a requestAnimationFrame to try and avoid any jank.

0reactions
ionitron-bot[bot]commented, Oct 26, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Progress Indicator can't stop animating when loading from ...
This create a new UIActivityIndicatorView() and you start animating it. But in the webViewDidFinishLoad , there is no way you can get the ......
Read more >
iOS 15 broke the navigation appear… | Apple Developer Forums
On iOS 15, when navigating to a view controller that has a transparent navigation bar, the navbar animation isn't working as expected.
Read more >
Troubleshooting | React Navigation
Troubleshooting. This section attempts to outline issues that users frequently encounter when first getting accustomed to using React Navigation.
Read more >
Figma Tutorial: Smart Animate and Drag Triggers - YouTube
Figma is free to use. Sign up here: http://bit.ly/2lJFbO9 Get your own copy of the design File: https://www.figma.com/c/file/76712273... New ...
Read more >
::-webkit-progress-bar - CSS: Cascading Style Sheets | MDN
If you're not using a WebKit or Blink browser, the code above results in a progress bar that looks like this: The progress...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found