Skip to content

Android multiple issues: too many steps, disabling removes minimumTrackTintColor, extra space #634

Closed
@Chriko2502

Description

@Chriko2502

Hi together,

I came across multiple issues when using the silder on different platforms. While it works great on iOS and web, I am encountering following issues on android only:

  1. too many steps
    There is one extra tick/step added to the right/maximum end of the slider without any value change ?!

  2. disabling removes minimumTrackTintColor
    When disabling the slider the minimumTrackTintColor is removed/ignored ?!

  3. extra space before and after the trackbar
    There is extra space before and after the trackbar added. But I managed to apply the following workaround:
    style={{marginHorizontal: (Platform.OS != 'android') ? 0 : -15}}

All issues can be reproduced/seen in:
https://snack.expo.dev/@chr1k0/slider-example

Any possibility to fix problem 1. and 2. or is there any known workaround?

Thanks in advance!

Metadata

Metadata

Assignees

Labels

bug reportSomething isn't workingplatform: AndroidIssue related to Android platform

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions