angular-loading-bar
angular-loading-bar copied to clipboard
fix: clear progress bar width after animation is completed
Sets bar width to 0 when animation is completed. It prevents full-width progress bar blinking after new animation call. Steps to reproduce bug:
- Go to demo page and click "Real Example".
- Set debugger Here
if (includeBar) { $animate.enter(loadingBarContainer, $parent); }
- Click "Real Example" again and check loadingBarContainer's childNode styles. Here will be width:100%. Also you will see progress bar with full width.
Browser: Any