Description
Description
When a shadow property is applied to a Switch control, the shadow does not move with the thumb when toggling the switch on or off. The shadow remains in its initial position and does not update to follow the thumb’s movement, causing a visual inconsistency. This issue occurs in both ON and OFF states. The expected behavior is for the shadow to move together with the thumb whenever the switch is toggled.
Steps to Reproduce
- Run the attached sample project. MauiApp8.zip
- Toggle the switch ON and OFF.
- Observe that the shadow does not move or update with the thumb; it remains in its initial position regardless of the switch state.
Link to public reproduction project repository
No response
Version with bug
9.0.70 SR7
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response