Skip to content

[iOS] Slider's thumb image doesn't respect color #27515

@kubaflo

Description

@kubaflo

Description

The Slider's thumb image functionality has two issues:

  1. It does not respect the ThumbColor property.
  2. If a ThumbColor is declared, the thumb image disappears when dragged.
Simulator.Screen.Recording.-.iPhone.16.Pro.Max.-.2025-02-01.at.11.04.22.mp4

Steps to Reproduce

var slider = new Slider() { ThumbColor = Colors.Blue };
Content = new VerticalStackLayout()
{
    slider,
    new Button()
    {
        AutomationId = "ChangeThumbImageButton",
        Text = "Click to change image",
        Command = new Command(() => {
            slider.ThumbImageSource = "coffee.png";
        })
    },
    new Button()
    {
        AutomationId = "ChangeThumbColorButton",
        Text = "Click to change color",
        Command = new Command(() => {
            slider.ThumbColor = Colors.Red;
        })
    }
};

Link to public reproduction project repository

No response

Version with bug

9.0.30 SR3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions