Rg.plugins.popup: [UWP] Crash showing a PopupPage that contains a CarouselView

Created on 3 Mar 2021  路  4Comments  路  Source: rotorgames/Rg.Plugins.Popup

馃悰 Bug Report

Create a PopupPage that contains a Xamarin.Forms 5.0 CarouselView and push it.
Current behavior: It crashes.

System.ArgumentException: Delegate to an instance method cannot have null 'this'.
   at System.MulticastDelegate.ThrowNullThisInDelegateToInstance()
   at Xamarin.Forms.Platform.UWP.CarouselViewRenderer.InitialSetup(Object sender, SizeChangedEventArgs e)

Expected behavior

Popup appears properly

Reproduction steps

  • Create a new PopupPage
  • Add a CarouselView to previous PopupPage's xaml
  • Push the PopupPage

Configuration

Xamarin.Forms 5.0
Windows 10 19042.804

Version: 2.0.0.10

Platform:

  • [x] :earth_americas: UWP
bug confirmed

All 4 comments

hey @juanmalm does it work okay if the new popuppage already contained the carousel view? instead of adding it, I assume through the content property?

Hi @LuckyDucko, same behavior with the popup already containing the carousel view in its xaml.

Alright @juanmalm are you able to create a standalone project that demonstrates this just so we can ensure that there is nothing special in your project that may be causing the issue

Sure! Here you have @LuckyDucko

App5.zip

Was this page helpful?
0 / 5 - 0 ratings