Andarist / Andarist/react-textarea-autosize

Height on iOS Safari doesn't account for padding

Ouverte
#384 1 commentaire 3 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
2.4k
Forks
247
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

On iOS Safari, if your textarea has 0 padding then this seems to work fine.

However, if your textarea has top or bottom padding, then the calculated height does not include the padding, meaning that the textarea ends up overflowing with a scrollbar.

This does not seem to happen on desktop Safari, just on mobile.

![IMG_3579](https://github.com/Andarist/react-textarea-autosize/assets/1155963/e51ee59d-6624-415e-9329-48411d694f01)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

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