Skip to content
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

Win platfom: Popup show on unexpected window when app using multiple window #523

Open
jingliancui opened this issue Dec 26, 2023 · 4 comments
Labels
core-dialogs external bug A bug which comes from external like Pull Requests
Milestone

Comments

@jingliancui
Copy link

like CommunityToolkit/Maui#1616

reproduce:
1.open 2 new windows
2.invoke var result = await DialogService.DisplayCheckBoxPromptAsync("Title", new []{ "Option 1", "Option 2", "Option 3"}); on the second window
3.the Popup will show on the first window

@enisn
Copy link
Owner

enisn commented Dec 26, 2023

UraniumUI doesn't implement popup logic by itself. It has options such as CommunityToolkit and Mopups.

Probably the problem is related to CommunityToolkit.

Can you try Mopups dialogs if the same problem occurs or not?

@enisn enisn added bug-report Potential bug that should be verified external bug A bug which comes from external like Pull Requests core-dialogs labels Dec 26, 2023
@enisn enisn added this to the Backlog milestone Dec 26, 2023
@jingliancui
Copy link
Author

Mopups tested, it also shows on the first window.

@enisn enisn removed the bug-report Potential bug that should be verified label Jan 10, 2024
@enisn
Copy link
Owner

enisn commented Feb 8, 2024

in the latest 2.8.0-pre version, UraniumUI implemented different logic for IDialogService, so if you don't use any adapter like Mopups or CommunityToolkit, it'll use the current page to display dialogs and renders it itself instead real native popup.

In this way, it'll not be a platform native dialog but it serves its purpose

@jingliancui
Copy link
Author

Awesome! Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core-dialogs external bug A bug which comes from external like Pull Requests
Projects
None yet
Development

No branches or pull requests

2 participants