Skip to Content
0
Former Member
Aug 09, 2016 at 01:43 PM

sap.m.TextArea with growing not rendered

296 Views

Hello Guys!

I'm currently struggle with the sap.m.TextArea. I have a string that contains several Carridge Returns.

The Textarea was set to growing and I would assume that it will be initially rendered properly, so the contained text is displayed entirely.

This does, unfortunately, not happen. I use the same Area within a sap.m.Table. There it's working correct.

I have absolutely no idea what is different and assume that UI5 is rerendering the TextArea twice, due to the relative distances within the table.

If I fire the liveChange by entering something, the size will be adjusted accordingly. This is particular a problem, when the box is not editable.

The text further down in the box is then just missing.

I have a workaround by just set fix rows instead of the growing-attribute. But that leaves me with a scroll-bar...

Did somebody experienced the same error and fixed it somehow?

Thanks for the help!

Best regards,

Patrick