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
The modal dialog flashes on macOS when clicking the parent window.
ShowDialog
var dialog = new Window(); dialog.ShowDialog(MainWindow);
The dialog is modal and no flashes when clicking parent window.
11.0.9
macOS
I've delved deeper into the issue, and it appears that on macOS, Apple's API isn't used to implement the modal dialog. Instead, a trick is used to reactivate the dialog. https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/Window.cs#L905-L926
Is it possible to use system API to show modal dialog?
The text was updated successfully, but these errors were encountered:
Is this specific to Ursa or all cases?
Sorry, something went wrong.
It is also reproducible with Avalonia sample app.
No branches or pull requests
Describe the bug
The modal dialog flashes on macOS when clicking the parent window.
Screen.Recording.2024-04-28.at.16.14.49.mov
To Reproduce
ShowDialog
method.Expected behavior
The dialog is modal and no flashes when clicking parent window.
Avalonia version
11.0.9
OS
macOS
Additional context
I've delved deeper into the issue, and it appears that on macOS, Apple's API isn't used to implement the modal dialog. Instead, a trick is used to reactivate the dialog.
https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/Window.cs#L905-L926
Is it possible to use system API to show modal dialog?
The text was updated successfully, but these errors were encountered: