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.26k stars 1.76k forks source link

[Android, IOS, Mac] Unable to Remove Thumb Image in Slider Control #25939

Open NafeelaNazhir opened 2 days ago

NafeelaNazhir commented 2 days ago

Description

When the ThumbImageSource property of the Slider control is set to a valid image source (e.g., image_source.png), the image is displayed correctly on the thumb. However, if the ThumbImageSource is later set to null or an empty value (to remove the image), the image remains visible on the thumb, and it cannot be cleared Image

  1. Click Thumb Image button Image 2.. Click Reset Button , thumb image is not removed Image

Steps to Reproduce

  1. Click Thumb Image button
  2. Click Reset button
  3. Observe thumb image is not removed.
  4. SliderSampleTest (2).zip

Link to public reproduction project repository

No response

Version with bug

9.0.10 SR1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Android, macOS, iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

ninachen03 commented 1 day ago

This issue has been verified using Visual Studio 17.13.0 Preview 1.0 (9.0.10 & 9.0.0-rc.2.24503.2 &8.0.100 &8.0.3). Can repro on Android &iOS platform.