Currently, I am interested in utilizing a one-line textarea (with rows=1 and overflow-x:hidden;) similar to input type="text. However, I have encountered an issue where the content scrolls with "jumps" while typing inside it:
https://i.stack.imgur.com/RzfXr.gif
This scrolling behavior is not ideal for typing workflow (refer to this fiddle: fiddle). Is there a straightforward way to fix this using only CSS, or do I need to implement an on('input',..) handler to detect when we reach the end of the line and adjust the horizontal scroll position of the textarea?