callstack / callstack/react-native-slider

Custom thumb image in Android becomes huge in contrary of iOS which is the the requested size

Open
#559 7 comments 5 reactions 1 assignee Claimed by @BartoszKlonowski View on GitHub
bug report platform: Android
Dominant language
TypeScript
Stars
1.4k
Forks
295
Avg merge
5m
Merged PRs (30d)
1

Description

## Environment

Standard React Native, Android OS

* react-native info output:
```
System:
OS: MacOS Sonoma 14.1.2
CPU: M2
RAM: 16GB

Node: 14.16.0

React: 17.0.2

React Native: 0.68.2

Device: Physical Android devices

Environment: Production

```
## Description

When i am using a custom icon for a thumb image, in ios simulators, android simulators and ios devices the image behaves as requested in the desired size. When using an android device the image is shown huge compared to what given.

## Reproducible Demo

Τhe image we want:

![Screenshot_20231113_163957_novoville](https://github.com/callstack/react-native-slider/assets/40352733/0adc55e9-b9ed-4277-8340-2931ea0dd7ca)

The wrong behaviour:

![Screenshot_20231127_174548_novovillePrev](https://github.com/callstack/react-native-slider/assets/40352733/e7baadd0-9cf8-487d-8fe3-1a3cfd343e5e)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.