callstack / callstack/react-native-slider

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

未关闭
#559 7 条评论 5 个 reaction 已指派 1 人 已被 @BartoszKlonowski 认领 在 GitHub 查看
bug report platform: Android
主要语言
TypeScript
星标
1.4k
派生
295
平均合并
5 分钟
30 天内合并 PR
1

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。