callstack / callstack/react-native-slider

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

Aperta
#559 7 commenti 5 reazioni 1 assegnatario Rivendicata da @BartoszKlonowski Vedi su GitHub
bug report platform: Android
Lingua principale
TypeScript
Stelle
1.4k
Fork
295
Merge medio
5m
PR unite (30g)
1

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.