Andarist / Andarist/react-textarea-autosize
Height on iOS Safari doesn't account for padding
Open
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 247
- PR merge metrics
- No merged PRs in 30d
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.

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.