dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.16k stars 1.74k forks source link

Triggers are not working on Frame control in .net maui #19127

Open nikamvd opened 11 months ago

nikamvd commented 11 months ago

Description

Triggers are not working on Frame control in .net maui

Steps to Reproduce

  1. Run the sample app from the link below
  2. Click the button "Toggle Camera View". True / False represents the current toggle state.
  3. Content on the "Frame" does not update but content on "Border" gets updated.

FrameTriggerBug

Link to public reproduction project repository

https://github.com/nikamvd/TriggersMauiApp

Version with bug

8.0.3

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 16.5.1

Did you find any workaround?

Works if I replace Frame with Border

Relevant log output

No response

ghost commented 10 months ago

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

suchithm commented 10 months ago

Observed the same issue after updating to .net 8.0, which was working fine in lower version.

XamlTest commented 9 months ago

Verified this on Visual Studio Enterprise 17.9.0 Preview 2(8.0.3). Repro on iOS 17.0 and MacCatalyst, not repro on Android 14.0-API34 and Windows 11 with below Project: TriggerMauiApp.zip

kubaflo commented 8 months ago

@nikamvd fix: https://github.com/dotnet/maui/pull/20501