callstack / callstack/react-native-paper

Label clips when calling render function prop of TextInput component in outline mode

Ouverte
#4,329 8 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
TypeScript
Étoiles
14.5k
Forks
2.2k
Merge moyen
5 j 23 h
PR mergées (30 j)
12

Description

### Current behaviour

The label of TextInput component clips in outline mode when I call the render function prop. I am calling the render prop so as to render my Custom input, in this case a dropdown select input. Space is sufficient so it should not clip the label. Is the their a way to work around it ?

### Expected behaviour

Should not clip the label
### How to reproduce?

### Preview

### What have you tried so far?

I have tried applying different styles but still not working
### Your Environment

| software | version
| --------------------- | -------
| ios | x
| android | 14
| react-native | 0.73.4
| react-native-paper | 5.12.3
| node | 18.17.1
| npm | 9.6.7
| expo sdk | 50.0.7
![Screenshot_1709322988](https://github.com/callstack/react-native-paper/assets/31744209/b04c7461-7c44-41e9-b179-e0d8947becd9)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by reproducing the TextInput outline-mode case with the render prop and custom dropdown described in the issue, using the supplied React Native, React Native Paper, and Expo versions. Compare the rendered label with and without the custom input; done means the label no longer clips when sufficient space is available.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react-native, typescript
Domaine
mobile
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.