-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues loading configuration on Safari #582
Comments
EdwardMoyse
added a commit
that referenced
this issue
Aug 18, 2023
This is NOT a clean solution but I do not know what else to try
EdwardMoyse
added a commit
that referenced
this issue
Aug 25, 2023
This is NOT a clean solution but I do not know what else to try
EdwardMoyse
added a commit
that referenced
this issue
Aug 25, 2023
Attempt to workaround Issuing loading configuration on Safari #582
EdwardMoyse
changed the title
Issuing loading configuration on Safari
Issues loading configuration on Safari
May 14, 2024
I wonder if this is related to: wojtekmaj/react-date-picker#288 (comment) It seems like the same issue - the pop up appears, but |
I believe this is now fixed, but we can re-open if necessary. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Initially I included this as part of #570, but I think in fact it is different, so let me open a new ticket.
I think it must be a problem with async calls in some manner I really don't understand, but it seems to be in
loadFile
from https://github.com/HSF/phoenix/blob/main/packages/phoenix-event-display/src/helpers/file.tsTo debug this I put a
console.log()
instate-manager.ts loadStateFromJSON
When I open phoenix and try to manually load a configuration file, I do not see this output i.e. the configuration file is not loaded (this explains the weird problems that I and others have been having).
If, however, I set a breakpoint at line 30 of
file.ts
, then I DO see this output. So it seems like forcing the code to stop there allows something else to happen in time?Digging a bit deeper it seems like the
input.onChange
phoenix/packages/phoenix-event-display/src/helpers/file.ts
Line 34 in ef5a974
If I change the code to
then it works as expected (but obviously this is a hack and not a fix).
I only see this problem on Safari.
Pinging @9inpachi and @DamianArado, who will certainly have a better idea what could be causing this than I do!
The text was updated successfully, but these errors were encountered: