Skip to content

Commit 7012a47

Browse files
Fix loading element never showing up (#61)
1 parent d9066b9 commit 7012a47

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngc-omnibox",
3-
"version": "0.3.4",
3+
"version": "0.3.5",
44
"description": "A modern, flexible, Angular 1.x autocomplete library with limited assumptions.",
55
"main": "dist/ngc-omnibox.js",
66
"scripts": {

src/angularComponent/ngcOmniboxController.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ export default class NgcOmniboxController {
627627

628628
this._loadingTimeout = setTimeout(() => {
629629
this.shouldShowLoadingElement = true;
630+
this.$scope && this.$scope.$apply();
630631
}, LOADING_SCREEN_THRESHOLD);
631632
}
632633

0 commit comments

Comments
 (0)