Skip to content

[ui5-textarea]: is not growing in sap_fiori_3 theme #13343

@floa93

Description

@floa93

Bug Description

When using the sap_fiori_3 theme the ui5-textarea is not growing properly. I coudn't get the setTheme to work in the playground. The variable --_ui5_textarea_wrapper_padding: 0rem; seems to be the issue in this theme.
When using the horizon styles its fine.

Affected Component

ui5-textarea

Expected Behaviour

Auto grow in row size.

Isolated Example

No response

Steps to Reproduce

    <ui5-textarea growing="growing" growing-max-rows="30" rows="4" value="long text
long text1
long text2
long text3
long text4
long text5
long text6
long text7
long text8"></ui5-textarea>
Image

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.19

Browser

Chrome

Operating System

No response

Additional Context

Workaround is setting the padding from 0 to 0.625rem like in horizon.

  ui5-textarea {
    --_ui5_textarea_wrapper_padding: 0.625rem;
  }

Organization

SAP

Declaration

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

Metadata

Metadata

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions