Sometimes I'm a bit perfectionist, which might as well be the reason why modern scroll still resides at the number one spot of the best-rated extensions.
This is one of these times… 🙄 …
Although or maybe especially because this extension is very simple with just over 150 lines of code, it works pretty solid (I didn't come across any non-working fields so far) :up:
However, there's a small visual glitch, which I simply can't stand:
If you have the transition-duration set to a certain value and write a longer text (e.g. in a contact form), you'll need to insert paragraphs.
Whenever you press Enter two times now, you'll notice that scroll bars appear in the textarea during the height-transition.
Since scrolling isn't needed at all cause textareas are always kept bigger than their text, I (you know me: optionally :up:) disabled scrolling in textareas in this build.
And here it is: TextBoXpander 1.1
new: option to restore textareas to their original size when they are not focused
new: option to disable scroll bars in textareas when they are not focused
fix: smilies aren't inserted into textareas on click anymore (thx Ahoj1234 for reporting)
fix: scroll bar appears during height transition
fix: textareas do not expand correctly if they are initialized with long default texts
fix: links are mistaken for input fields