Open Codewizard opened 7 years ago
@Codewizard did you ever solve this?
Unfortunately I also have the same problem.
Below is the version I currently use:
"angular/animations": "^5.2.0", "angular/common": "^5.2.0", "angular/compiler": "^5.2.0", "angular/core": "^5.2.0", "angular/forms": "^5.2.0", "angular/http": "^5.2.0", "angular/platform-browser": "^5.2.0", "angular/platform-browser-dynamic": "^5.2.0", "angular/router": "^5.2.0", "angular2-busy": "^2.0.4",
Any update on this?
I see this issue mostly on mobile.
I have the same case, no logo to have it removed in loading after the Promise returns catch
Busy stays and blocks the UI even after the promise returns..
app.module.ts `import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; import { RouterModule, Routes } from '@angular/router'; import { TreeModule } from 'primeng/primeng'; import { BusyModule, BusyConfig } from 'angular2-busy'; import { HomeComponent } from './home/home'; import { ProductsComponent } from './products/products'; import { TechnologyComponent } from './technology/technology'; import { LocationComponent } from './locations/locations'
import { routes } from './app.routes'
@NgModule({ declarations: [ HomeComponent, ProductsComponent, TechnologyComponent, LocationComponent ], imports: [ BrowserModule, FormsModule, TreeModule, RouterModule.forRoot(routes, { useHash:true }), BusyModule.forRoot(new BusyConfig({ delay: 0, minDuration: 0, })) ] }) export class AppModule { };
constructor()
{
locations.ts
import { Component, OnInit } from '@angular/core'; import { CommonModule } from "@angular/common"; import { client } from '../../../shared/utils'; import { Response } from '@angular/http'; import { LocationsResponse, LocationsRequest,LocationDTO } from '../../../dtos'; import { TreeModule, TreeNode } from 'primeng/primeng'; import { BusyModule, BusyDirective } from 'angular2-busy'; @Component({ selector: 'locations', templateUrl: 'locations.html', styleUrls: ['locations.css'] }) export class LocationComponent implements OnInit { public locations: TreeNode[] = []; public nodeCount: number; busy: Promise}`