react-visio - update package-lock (#778)

* update package-lock

* remove timeout for IE
This commit is contained in:
Joel Rodrigues 2019-02-09 10:21:13 +00:00 committed by Vesa Juvonen
parent f583732935
commit 3847c3744b
2 changed files with 5941 additions and 4648 deletions

File diff suppressed because it is too large Load Diff

View File

@ -296,12 +296,11 @@ export class VisioService {
// add custom onDocumentLoadComplete event handler
await this._addCustomEventHandlers();
// trigger document and page loaded event handlers after 3 seconds in case Visio fails to trigger them
// trigger document and page loaded event handlers manually as sometimes Visio fails to trigger them
// we are sending a null event, which is fine in this case as we don't need any of the event data
// this is randomly happening on chrome, but seems to always fail on IE...
setTimeout(() => {
this._onDocumentLoadComplete(null);
this._onPageLoadComplete(null);
}, 3000);
} catch (error) {
this.logError(error);