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

[Gallery-4X and 5X][All Platforms]-Neumorphic style and Toggleswitch control- Switch Knob positon for 'ON' toggleswitch is incorrect.

Open sakshi173 opened this issue 2 years ago • 1 comments

Current behavior

Toggleswitch issue

Expected behavior

Toggleswitch correct

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

  1. Launch the Uno.Gallery app for 4X.
  2. Click on “ShadowContainer” from the "Toolkit" list.
  3. Go to Neumorphic section.
  4. Choose 'toggleswitch option from the combo list.
  5. Notice that for 'ON' postion the switch knob is in 'OFF' position is displaying.
  6. Notice that the Name of all 'Toggleswitch' are missing or the option disabled is missing for Disabled toggleswitch button.

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

WebAssembly, Android, iOS

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

sakshi173 avatar Sep 08 '23 20:09 sakshi173

There is no enabled ToggleSwitch with IsOn set to True:

https://github.com/unoplatform/Uno.Gallery/blob/master/Uno.Gallery/Uno.Gallery.Shared/Views/SamplePages/ShadowContainerSamplePage.xaml#L691-L709

erikvilima avatar Oct 23 '23 13:10 erikvilima