From d41eab59fd10f475e80dffdfb2a2d627bb3aa9ef Mon Sep 17 00:00:00 2001 From: Edward Moyse Date: Fri, 18 Aug 2023 14:19:50 +0200 Subject: [PATCH] Attempt to workaround Issuing loading configuration on Safari #582 This is NOT a clean solution but I do not know what else to try --- packages/phoenix-event-display/src/helpers/file.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/phoenix-event-display/src/helpers/file.ts b/packages/phoenix-event-display/src/helpers/file.ts index 47339645..9f95d18e 100644 --- a/packages/phoenix-event-display/src/helpers/file.ts +++ b/packages/phoenix-event-display/src/helpers/file.ts @@ -43,4 +43,7 @@ export const loadFile = ( reader.readAsText(configFile); }; inputFile.click(); + setTimeout(() => { + console.log('Let us just wait a second'); +}, 1000); };