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-split-button]: component breaks if container has fixed height #8705

Closed
1 task done
Lukas742 opened this issue Apr 9, 2024 · 1 comment · Fixed by #8780
Closed
1 task done

[ui5-split-button]: component breaks if container has fixed height #8705

Lukas742 opened this issue Apr 9, 2024 · 1 comment · Fixed by #8780
Assignees
Labels

Comments

@Lukas742
Copy link
Collaborator

Lukas742 commented Apr 9, 2024

Bug Description

When the SplitButton is mounted inside an container with a fixed height, it spreads to the available height, which results in breaking the layout of the component.

Setting height: auto; fixes the issue, but imo this shouldn't be necessary.

Affected Component

SplitButton

Expected Behaviour

The SplitButton should keep its dimensions if not defined otherwise.

Isolated Example

https://stackblitz.com/edit/js-atedm9?file=index.html

Steps to Reproduce

  1. Go to StackBlitz
  2. See that the first SplitButton looks broken

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

1.24.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

MXP & UI5WCR

Declaration

  • I’m not disclosing any internal or sensitive information.
@Lukas742 Lukas742 added the bug This issue is a bug in the code label Apr 9, 2024
@niyap niyap self-assigned this Apr 9, 2024
@niyap
Copy link
Contributor

niyap commented Apr 9, 2024

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

Could you please check the description and provided sample and analyse whether that result is expected when setting height: auto to the SplitButton when placed within a container with bigger and fixed height?

Thank you in advance!

Kind Regards,
Niya

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

4 participants