Andarist / Andarist/react-textarea-autosize

Height on iOS Safari doesn't account for padding

オープン
#384 コメント 1 件 リアクション 3 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
2.4k
フォーク
247
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。