Open chabiss opened 3 months ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
@StephaneDelcroix , note that if you do you "Full page hot Reload", before step 8, the correct dynamic resource will be applied
I can repro this issue at Windows platform on the latest 17.12.0 Preview 1.0(8.0.80 &8.0.72).
Description
This is a ported bug from AzDo Hot Reload setting a Dynamic Resource does not make it Dynamic
Steps to Reproduce
Affected Branch: main Affected Build: 17.12 P2 (35207.17)
Steps to reproduce:
New .NET MAUI App
Mainpage.xaml
Mainpage.xaml.cs private void Button_Clicked(object sender, EventArgs e) { this.Resources.Remove("foo"); this.Resources.Add("foo", Color.FromArgb("#ff00ff")); }
Run the app, click button
Expected / Actual: Button dynamically updates background color to purple
Expected / Actual: Button changes to Red
Expected: Button dynamically updates background color to purple Actual: Button remains Red
Link to public reproduction project repository
No response
Version with bug
8.0.80 SR8
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
8.0.80 SR8
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No
Relevant log output