react-textarea-autosize icon indicating copy to clipboard operation
react-textarea-autosize copied to clipboard

Height on iOS Safari doesn't account for padding

Open alexb148 opened this issue 2 years ago • 1 comments

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

alexb148 avatar Aug 06 '23 10:08 alexb148

I have this issue with chrome on desktop as well, but not on firefox desktop

TipluAbdulhamid avatar Aug 02 '24 09:08 TipluAbdulhamid