Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Making Text Box Shrink To Text


Level 1

I'm designing a form with a text box that can grow, which I've done successfully.  The problem is as the user is typing on the next line the previous line scrolls up and is hidden from view.  It expands when the user exits but I think it would be useful if they saw all that they were typing.

I was playing with mouseEnter setting the height to say 2" which would be more than enough, then on mouseExit setting back to the default of .25" expand to fit is checked but  the text box maintains the .25" no matter how much text and the scroll bars appear.  I don't want to start shrinking font size.

Thanks Mike

0 Replies