We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When clicking on the button highlighted in red, the file prompt shows but the UI does not respond to the selected file.
The functionality highlighted in green works properly.
Tested with the example xlsx files here.
The text was updated successfully, but these errors were encountered:
This is related to an API change somewhere between 1.7.5 and 9.
https://github.com/SheetJS/sheetjs/blob/master/demos/electron/index.js#L68 the code uses electron.dialog.showOpenDialog and grabs the result.
electron.dialog.showOpenDialog
The current version returns a promise https://www.electronjs.org/docs/api/dialog#dialogshowopendialogbrowserwindow-options
However 1.7.5 returned an array of strings https://github.com/electron/electron/blob/v1.7.5/docs/api/dialog.md
The easiest thing might be to change the call to showOpenDialogSync, adding a proper guard for the case that the dialog is canceled.
showOpenDialogSync
Sorry, something went wrong.
srijonsaha-zz
No branches or pull requests
When clicking on the button highlighted in red, the file prompt shows but the UI does not respond to the selected file.
The functionality highlighted in green works properly.
Tested with the example xlsx files here.
The text was updated successfully, but these errors were encountered: