Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextArea: Cant type spaces when used inside of UploadCollection #9703

Open
1 task done
tkeiner opened this issue Aug 16, 2024 · 4 comments · May be fixed by #9775
Open
1 task done

TextArea: Cant type spaces when used inside of UploadCollection #9703

tkeiner opened this issue Aug 16, 2024 · 4 comments · May be fixed by #9775
Assignees
Labels
bug This issue is a bug in the code Medium Prio TOPIC P

Comments

@tkeiner
Copy link

tkeiner commented Aug 16, 2024

Describe the bug

When the TextArea Component is used inside of the UploadCollection (and UploadCollectionItem) it is not possible to type spaces.

Isolated Example

https://stackblitz.com/edit/github-7dyw9x?file=src%2FApp.tsx

Reproduction steps

Pass TextArea as children to UploadCollectionItem like shown in StackBlitz example.

Expected Behaviour

Regular behaviour of the TextArea Component.

Screenshots or Videos

No response

UI5 Web Components for React Version

1.29.0

UI5 Web Components Version

1.24.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.
@tkeiner tkeiner added the bug This issue is a bug in the code label Aug 16, 2024
@tkeiner
Copy link
Author

tkeiner commented Aug 16, 2024

I just noticed that the Input Component and even the html tag <textarea> does have the exact same Bug.

@MarcusNotheis
Copy link
Collaborator

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

@MarcusNotheis MarcusNotheis transferred this issue from SAP/ui5-webcomponents-react Aug 19, 2024
@nnaydenow
Copy link
Contributor

Hello @sap/ui5-webcomponents-topic-rd,

Could you please check the issue? Same applies for the ui5-input as well.

Regards,
Nayden

@GerganaKremenska
Copy link
Member

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

The issue is reproducible in this example
UploadColectionItem extends ListItem, when an input/textarea (guessing any type of input) are placed inside a list item and some text is entered trying to use space to separate words is impossible.

From what i can see in the ListItem space is only used for activating the list item.
Is this a use case that you have encountered?

Can you please take over?

Note: In openui5 this scenario works.

Best Regards,
Gergana

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code Medium Prio TOPIC P
Projects
Status: In Progress
5 participants