-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Set electron dialogs to modal by default #13043
Conversation
Signed-off-by: Zoltán Béres <zole40@gmail.com>
dd645b0
to
12bb9c3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @zole40! Thank you for the fix, it works as expected 👍
However, I think it would be better if the modal
prop was already initialized in the toOpenDialogOptions
and toSaveDialogOptions
from the ElectronFileDialogService, together with the other dialog options.
Should we set a default value if it is undefined? |
Yes, exactly. That would ensure that the options already have the default value for the |
Signed-off-by: Zoltán Béres <zole40@gmail.com>
Signed-off-by: Zoltán Béres <zole40@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, it looks good to me!
@JonasHelming could you have a look as well, please?
What it does
I found regression in related to the electron dialogs #13042
How to test
Follow-ups
Review checklist
Reminder for reviewers