react-textarea-autosize
react-textarea-autosize copied to clipboard
Height on iOS Safari doesn't account for padding
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.
I have this issue with chrome on desktop as well, but not on firefox desktop