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

[ui5-step-input] - too long value state messages are truncated if step input's width is small size #10246

Open
1 task done
lyc489 opened this issue Nov 25, 2024 · 2 comments
Labels
bug This issue is a bug in the code Medium Prio TOPIC B

Comments

@lyc489
Copy link

lyc489 commented Nov 25, 2024

Bug Description

Too long value state messages are truncated if step input's width is small size, it should show Please provide valid value

image

Affected Component

ui5-step-input

Expected Behaviour

Should display the message as normal

Isolated Example

No response

Steps to Reproduce

...

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.5.0-rc.1

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.
@lyc489 lyc489 added the bug This issue is a bug in the code label Nov 25, 2024
@s-todorova s-todorova self-assigned this Nov 25, 2024
@s-todorova
Copy link
Contributor

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

The issue is reproducible as described: in playground, set small width on a ui5-step-input with a slotted valueStateMessage and observe how the text is cut off instead of truncated. For version 1.x the behavior we had was that the text wrapped instead. It seems that a "max-width" is being set in Input.ts, which is causing the cut off - I tested and if the styles are disabled, the popover renders normally. Could you please look into this?

Best Regards,
Siyana

@elenastoyanovaa
Copy link
Contributor

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

The reported issue is related to the StepInput component, not an input component in our team. Could you please process further? If you think that the root cause of the issue is in the Input components, please isolate the issue with a ui5-input.

Kind Regards,
Elena

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 B
Projects
Status: New Issues
Development

No branches or pull requests

3 participants