Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Making Text Box Shrink To Text

Avatar

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