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

[BUG] NotSupported handler.PlatformView.DismissEvent #2302

Open
2 tasks done
BaY1251 opened this issue Oct 24, 2024 · 0 comments
Open
2 tasks done

[BUG] NotSupported handler.PlatformView.DismissEvent #2302

BaY1251 opened this issue Oct 24, 2024 · 0 comments
Labels
bug Something isn't working unverified

Comments

@BaY1251
Copy link
Contributor

BaY1251 commented Oct 24, 2024

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

System.NotSupportedException: 'Unable to activate instance of type CommunityToolkit.Maui.Core.Views.MauiPopup from native handle 0xbeb5c910 (key_handle 0x96e90d3).'

Expected Behavior

Supported

Steps To Reproduce

public static MauiApp CreateMauiApp()
{
	CommunityToolkit.Maui.Core.Handlers.PopupHandler.PopUpMapper.AppendToMapping("Popup", (handler, view) =>
	{
		handler.PlatformView.DismissEvent += (s, e) => { };
	});

Link to public reproduction project repository

Environment

  • .NET MAUI CommunityToolkit:9.1.0
  • OS:Android
  • .NET MAUI:8.0.92

Anything else?

No response

@BaY1251 BaY1251 added bug Something isn't working unverified labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

1 participant