UI5 / UI5/webcomponents

[Shellbar]: Not possible to center content in shellbar content slot

Open
#11,045 0 comments 0 reactions 1 assignee View on GitHub

@PetyaMarkovaBogdanova is already working on this.

Since Mar 10, 2025.

consulting for discussion
Dominant language
TypeScript
Stars
1.8k
Forks
285
Avg merge
3d 2h
Merged PRs (30d)
59

Description

Bug Description

After updating to > WC 2.0 we are not able to center any Ui element in the shellbar.
We tried using the content slot and wrap spacers around -> Example

Previously we used the midContent slot, to achieve our needs. This was working fine for cases like this:

Image

Can you please give us some guidance if we do anything wrong?

Affected Component

ui5-shellbar

Expected Behaviour

We want to be able to center content in the shellbar

Isolated Example

Provided above

Steps to Reproduce

...

Log Output, Stack Trace or Screenshots

No response

Priority

High

UI5 Web Components Version

2.8.0

Browser

Chrome

Operating System

macOs

Additional Context

No response

Organization

SAP - SIX

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.