ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[TextArea]: Wrapping issue

Open JWandrocke opened this issue 1 year ago • 3 comments

Describe the bug

Using TextArea with growing=true and row=2

After text wraps to second line and type a in few character a third row appears

Isolated Example

No response

Reproduction steps

Using the https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/inputs-textarea--docs you can see the following

image

Add a some text and see blank row added. image

Expected Behaviour

Expected only two lines until text wraps again

Screenshots or Videos

No response

UI5 Web Components for React Version

latest

UI5 Web Components Version

latest

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

No response

Organization

No response

Declaration

  • [X] I’m not disclosing any internal or sensitive information.

JWandrocke avatar Sep 09 '24 15:09 JWandrocke

Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.

MarcusNotheis avatar Sep 10 '24 13:09 MarcusNotheis

Hello @SAP/ui5-webcomponents-topic-rl,

In the documentation for the rows property, the description says If the growing property is enabled, this property defines the **minimum** rows to be displayed in the textarea. To me this means that there can be more rows visible, but it's confusing that it directly contradicts the property definition (Defines the number of visible text rows for the component).

Can you please confirm if the property is supposed to behave like this?

Thank you, Diana P.

didip1000 avatar Sep 12 '24 16:09 didip1000

Input box of Joule can look really weird.

overflow of Joule input box

MichaelBiermann avatar Oct 09 '24 15:10 MichaelBiermann

Hello!

I believe that the issues was fixed with https://github.com/SAP/ui5-webcomponents/pull/11305 It will be available with next version (2.11).

Best Regards, Martin

MapTo0 avatar May 23 '25 13:05 MapTo0

This issue has been closed. To reopen, just leave a comment!

github-actions[bot] avatar May 23 '25 13:05 github-actions[bot]