question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] DisplayAlert not working on Popup

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the “Reporting a bug” section on Contributing file?

Current Behavior

I opened an issue in Maui, but I don’t know if it’s a Maui or a Toolkit issue. Trying to display a DisplayAlert by pressing a Button in a CommunityToolkit.Maui Popup. The DisplayAlert is not displayed

https://github.com/dotnet/maui/issues/14870

Expected Behavior

The DisplayAlert should show up

Steps To Reproduce

Take a look to https://github.com/dotnet/maui/issues/14870

Link to public reproduction project repository

https://github.com/acaliaro/MauiPicker

Environment

- .NET MAUI CommunityToolkit: 5.1.0
- OS: iOS 15.7
- .NET MAUI: 

Microsoft Visual Studio Community 2022
Versione 17.5.5
VisualStudio.17.Release/17.5.5+33627.172
Microsoft .NET Framework
Versione 4.8.09032

Edizione installata: Community

Visual C++ 2022   00482-90000-00000-AA928
Microsoft Visual C++ 2022

ADL Tools Service Provider   1.0
This package contains services used by Data Lake tools

ASA Service Provider   1.0

ASP.NET and Web Tools   17.5.320.55692
ASP.NET and Web Tools

Azure Data Lake Tools for Visual Studio   2.6.5000.0
Microsoft Azure Data Lake Tools for Visual Studio

Azure Functions and Web Jobs Tools   17.5.320.55692
Azure Functions and Web Jobs Tools

Azure Stream Analytics Tools for Visual Studio   2.6.5000.0
Microsoft Azure Stream Analytics Tools for Visual Studio

Extensibility Message Bus   1.4.3 (main@2a4517a)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

Gestione pacchetti NuGet   6.5.0
Gestione pacchetti NuGet in Visual Studio. Per altre informazioni su NuGet, visitare il sito Web https://docs.nuget.org/

Microsoft Azure Hive Query Language Service   2.6.5000.0
Language service for Hive query

Microsoft Azure Stream Analytics Language Service   2.6.5000.0
Language service for Azure Stream Analytics

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Mono Debugging for Visual Studio   17.5.9 (11975e6)
Support for debugging Mono processes with Visual Studio.

Razor (ASP.NET Core)   17.5.2.2316603+9f1b6856460af1e592d387ebef416eadddac453f
Fornisce servizi di linguaggio per ASP.NET Core Razor.

ResX Resource Manager   ResXManager
Manage localization of all ResX-based resources in one place. Shows all resources of a solution and lets you edit the strings and their localizations in a well-arranged data grid.

SQL Server Data Tools   17.2.40120.0
Microsoft SQL Server Data Tools

SQLite & SQL Server Compact Toolbox   4.8
SQLite & SQL Server Compact Toolbox adds scripting, import, export, rename, query execution and much more to SQL Server Compact & SQLite Data Connections.

Strumenti C#   4.5.2-3.23171.7+d17f741546fad2786cbd6394d08619544e53a36d
Componenti di C# usati nell'IDE. A seconda del tipo e delle impostazioni del processo, è possibile che venga usata una versione diversa del compilatore.

Strumenti comuni di Azure   1.10
Fornisce servizi comuni da usare con Servizi mobili di Azure e gli strumenti di Microsoft Azure.

Strumenti del Servizio app di Azure versione 3.0.0   17.5.320.55692
Strumenti del Servizio app di Azure versione 3.0.0

Strumenti di Microsoft Azure per Visual Studio   2.9
Supporto per i progetti di Servizi cloud di Azure

Strumenti di Visual Basic   4.5.2-3.23171.7+d17f741546fad2786cbd6394d08619544e53a36d
Componenti di Visual Basic usati nell'IDE. A seconda del tipo e delle impostazioni del processo, è possibile che venga usata una versione diversa del compilatore.

Strumenti TypeScript   17.0.20105.2003
Strumenti TypeScript per Microsoft Visual Studio

StylerPackage Extension   1.0
StylerPackage Visual Stuido Extension Detailed Info

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

Visual F# Tools   17.5.0-beta.23053.5+794b7c259d9646a7eb685dad865aa27da7940a21
Microsoft Visual F# Tools

Visual Studio IntelliCode   2.2
Sviluppo assistito conl'intelligenza artificiale per Visual Studio.

VisualStudio.DeviceLog   1.0
Informazioni sul pacchetto

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

Xamarin   17.5.0.173 (d17-5@33e727c)
Estensione di Visual Studio per consentire lo sviluppo per Xamarin.iOS e Xamarin.Android.

Xamarin Designer   17.5.3.46 (remotes/origin/d17-5@e4dd80b2bb)
Estensione di Visual Studio per abilitare gli strumenti di Xamarin Designer in Visual Studio.

Xamarin Templates   17.5.41 (ba80d05)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK   13.2.0.0 (d17-5/797e2e1)
Xamarin.Android Reference Assemblies and MSBuild support.
    Mono: 6dd9def
    Java.Interop: xamarin/java.interop/main@149d70fe
    SQLite: xamarin/sqlite/3.40.0@fdc1e34
    Xamarin.Android Tools: xamarin/xamarin-android-tools/main@9f02d77


Xamarin.iOS and Xamarin.Mac SDK   16.2.0.5 (7738c90c9)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Anything else?

No response

Issue Analytics

  • State:closed
  • Created 5 months ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
marekm294commented, May 5, 2023

This is probably a duplicate of https://github.com/CommunityToolkit/Maui/issues/1106 There is also already opened proposal on MAUI github - https://github.com/dotnet/maui/issues/14258

0reactions
brminnickcommented, Aug 8, 2023
Read more comments on GitHub >

github_iconTop Results From Across the Web

DisplayAlert not working on CommunityToolkit.Maui Popup
Description Trying to display a DisplayAlert by pressing a Button in a CommunityToolkit.Maui Popup. The DisplayAlert is not displayed Steps ...
Read more >
Xamarin forms : DisplayAlert not working
I am using DisplayAlert in my project for displaying no internet connection alert. Unfortunately, it is not working. It working fine in another ......
Read more >
Workaround for Xamarin.Forms' DisplayAlert Bug (Alert ...
My first answer was so wrong and it's not solving any problem. ... Bug. This results into two popups, which is obviously not...
Read more >
Xamarin Forms: DisplayAlert background tap firing the ...
Accept and Reject options are working fine. My problem is Reject option is executing when tapping on the background or device back arrow....
Read more >
Display Alert Not Close when you change Application ...
i solve it with Rg Plugin Popup and replace it with Display Alert ! and when Navigate to another page disappear it. but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found