Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Hi,

According to SAP Fiori Guidelines website (https://experience.sap.com/fiori-design/ui-components/feedinput/ ) 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

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question