callstack / callstack/react-native-slider

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

Offen
#559 7 Kommentare 5 Reaktionen 1 zugewiesene Person Beansprucht von @BartoszKlonowski Auf GitHub ansehen
bug report platform: Android
Vorherrschende Sprache
TypeScript
Sterne
1.4k
Forks
295
Ø Merge
5 Min.
Gemergte PRs (30 T.)
1

Beschreibung

## 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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.