callstack / callstack/react-native-paper

Having issue in TextInput - mode={'outlined'} - multiline={true}.

未关闭
#3,289 8 条评论 0 个 reaction 已指派 1 人 已被 @lukewalczak 认领 在 GitHub 查看
repro provided TextInput
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

I have checked many doc's for resolve this issue but can't find anything.
Here i have added the video how it works and image for what is should have to look like..

1. Video: Issue is value is at center instead top.
2. Image: The value should have on the top when it's not in focus.
3. Here is my code.
```

```
![01](https://user-images.githubusercontent.com/86836170/182808761-2c529eb1-cb4c-4df2-89f0-90850aaed2e1.png)

https://user-images.githubusercontent.com/86836170/182808774-e149bf0c-8b3a-4f73-8cf3-66eebdb5a97b.mov

Here is my version codes.

react-native: 0.66.4
react-native-paper: 4.12.1
react-native-vector-icons: 9.1.0

Expo code example:
https://snack.expo.dev/@shravancentricwave/textinput.affix?name=TextInput.Affix&description=https%3A%2F%2Fcallstack.github.io%2Freact-native-paper%2Ftext-input-affix.html&code=import%20*%20as%20React%20from%20%27react%27%3B%0Aimport%20%7B%20TextInput%20%7D%20from%20%27react-native-paper%27%3B%0A%0Aconst%20MyComponent%20%3D%20()%20%3D%3E%20%7B%0A%20%20const%20%5Btext%2C%20setText%5D%20%3D%20React.useState(%27%27)%3B%0A%0A%20%20return%20(%0A%20%20%20%20%3CTextInput%0A%20%20%20%20%20%20mode%3D%22outlined%22%0A%20%20%20%20%20%20label%3D%22Outlined%20input%22%0A%20%20%20%20%20%20placeholder%3D%22Type%20something%22%0A%20%20%20%20%20%20right%3D%7B%3CTextInput.Affix%20text%3D%22%2F100%22%20%2F%3E%7D%0A%20%20%20%20%2F%3E%0A%20%20)%3B%0A%7D%3B%0A%0Aexport%20default%20MyComponent%3B&dependencies=react-native-paper

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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