maui: [regression/8.0.0-preview.5.8529] Cannot interact with RadioButton on iOS in a Popup

Description

When putting RadioButtons in a toolkit Popup, I cannot interact with them on net8.0-ios. net8.0-android works fine. Other UI elements work fine, so this appears to be just RadioButton on net8.0-ios

Steps to Reproduce

Run this app with net8.0 on iOS, touch the button to launch the popup, and try to interact with the UI elements.

https://github.com/dotnet/maui/assets/41873/86531bab-fff0-4d21-90fe-7a84e741d237

Link to public reproduction project repository

https://github.com/davidortinau/bug-radiobutton

Version with bug

8.0.0-preview.5.8529

Last version that worked well

7.0.49

Affected platforms

iOS

Affected platform versions

iOS 16.4

Did you find any workaround?

No response

Relevant log output

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 16 (14 by maintainers)

Most upvoted comments

@PureWeen, what version of .net maui is this available? I know that we pin our .net Maui version to the minimum possible, so probably the version that we’re pinned doesn’t have the AddLogicalChild

This is available in Preview7 of .NET8 so it’ll be part of the first stable release of .NET8.

There is a similar Bug concerning the BindingContext in iOS and Popup. CommunityToolkit/Maui#1309 @PureWeen What do you mean by adding it as a logical Child.

A lot of the plumbing isn’t connected up because it’s been impossible to add LogicalChildren to the Page element.

With the next .NET8 preview if Popup gets added to the LogicalChildren via https://github.com/dotnet/maui/pull/16046 that will fix the plumbing.

I need to fix up gestures so they can work without that plumbing.

There is a similar Bug concerning the BindingContext in iOS and Popup. https://github.com/CommunityToolkit/Maui/pull/1309 @PureWeen What do you mean by adding it as a logical Child.