akveo / akveo/react-native-ui-kitten

Input breaks inside a Scrollview

未關閉
#1,803 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
10.7k
分支
962
PR 合併指標
30 天內沒有已合併 PR

描述

## 🐛 Bug Report

When using the `Input` component from UI Kitten, the text within the input field is being cut off. This issue occurs without any custom styling applied to the `Input` component. The issue is observed on an Android device with a screen resolution of 1080x1920.

## To Reproduce

Steps to reproduce the behavior:
1. Create a new `Input` component with a `size` prop set to 'large' and a `defaultValue`.
2. Wrap the `Input` in a `ScrollView` without any styles.
3. Run the app on an Android device with a screen resolution of 1080x1920.
4. Observe that the text within the `Input` is cut off.

## Expected behavior

The text within the `Input` component should be fully visible and not cut off, regardless of the length of the default value or the input size, and should be properly displayed across different screen resolutions, including 1080x1920.

## Link to runnable example or repository (highly encouraged)

[Runnable Example on Snack](https://snack.expo.dev/@aferreras/playground)

## UI Kitten and Eva version

| Package | Version |
| ----------- | ----------- |
| @eva-design/eva | 2.2.0 |
| @ui-kitten/components |5.3.1 |

## Environment information

```bash
# Paste your environment info here
System:
OS: macOS 14.2.1
CPU: (12) arm64 Apple M2 Max
Binaries:
Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 9.6.7 - ~/.nvm/versions/node/v18.17.1/bin/npm
Watchman: 2023.12.04.00 - /opt/homebrew/bin/watchman
SDKs:
iOS SDK:
Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, visionOS 1.0, watchOS 10.2
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10811636
Xcode: 15.2/15C500b - /usr/bin/xcodebuild
npmPackages:
react: 18.1.0 => 18.1.0
react-native: 0.70.6 => 0.70.6

```
![Screenshot 2024-02-07 at 6 48 16 PM](https://github.com/akveo/react-native-ui-kitten/assets/6331400/11dd2b24-8dd0-40a3-858e-323791bbdd6f)

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。