Skip to Content
Former Member
Apr 13, 2016 at 04:55 PM

sap.m.FeedInput height adjusted according to the text inside



According to SAP Fiori Guidelines website ( ) there is a feature that I need and I cannot replicate.

Basicaly, on Feed Input, when you hit enter several times the height of the input should increase and adjust in order to fit the whole text the user types. However, if I hit ENTER a couple of times the Feed Input brings me a scroll bar and keeps the default height (about 3 rows).

Does anybody knows how to solve this without changing to another type of object like TextArea, etc

Additional info: if you check the live samples from SAP you'll observe the same behaviour as well (scroll bar instead of adjusting the height) - SAPUI5 Explored

Thanks in advance,

Hugo Oliveira