Uno.Samples icon indicating copy to clipboard operation
Uno.Samples copied to clipboard

[ToDo][Win/iOS][Settings Flyout] Opening Settings Flyout Changes App Theme Without Interacting with Light/Dark Theme Controls

Open agneszitte opened this issue 1 year ago • 1 comments

Current behavior

Opening the settings flyout changes the theme of the app without having to click on the Light/Dark theme chips controls in the flyout.

Windows:

https://github.com/unoplatform/Uno.Samples/assets/16295702/04d5962f-9d4e-48aa-81ed-182e96aee79e

iOS:

https://github.com/unoplatform/Uno.Samples/assets/16295702/ce617fd9-1534-4481-8862-d7ebd87adf2e

Expected behavior

Opening the settings flyout should not change the theme of the app unless the user interacts with the Light/Dark theme chips controls.

How to reproduce it (as minimally and precisely as possible)

  • Open the application in Wide Layout.
  • Click on the "Get Started" button on the Welcome Page.
  • Click on the user name button in the top left corner of the app at the top of the menu to open the settings flyout.
  • Observe that the theme of the app changes automatically without clicking on the Light/Dark theme chips controls. (Do multiple retries to notice the issue if needed)

Environment

Nuget Package:

  • Uno.Sdk: 5.2.161
  • UnoExtensionsVersion: 4.1.28
  • UnoToolkitVersion: 6.0.24
  • UnoThemesVersion: 5.0.13

Affected platform(s):

  • [X] Windows
  • [X] iOS
  • [ ] Android
  • [ ] WebAssembly

Additional information

Possible related issue: https://github.com/unoplatform/Uno.Samples/issues/780

agneszitte avatar Jul 09 '24 18:07 agneszitte