Skip to content

[SF][ListItemGroup]: [Can't style the title inside shadow root] #13054

@Jasonl157

Description

@Jasonl157

Describe the bug

this component has a structure of

  • ui5-li-group
    • shadow-root
    • part header
      • shadow-root
      • part title

However, css selector [ui5-li-group]::part(title) doesn't work

Isolated Example

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

Reproduction steps

  1. Open the example and inspect the group header
  2. Find the <span> with part="title"
  3. The customized css style is not applied

Expected Behaviour

customized style can work, or the <span> with part="title" can come with width 100%.
In my case, I want the header to take full width, so the button can be aligned to the right side

Screenshots or Videos

No response

UI5 Web Components for React Version

2.19.0

UI5 Web Components Version

2.19.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

Organization

SF

Declaration

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

Metadata

Metadata

Assignees

Type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions