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.
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.