Skip to content

AnalyticalTable: in hierarchical tree view, node and leaf items at the same level are not vertically aligned #5478

@ehn-sap

Description

@ehn-sap

Describe the bug

Nodes (items having sub-items) and leaves (having no descendant) are differently indented.

Isolated Example

https://codesandbox.io/p/sandbox/analyticaltable-tree-view-lz23r3

Reproduction steps

  1. open the linked code sandbox
  2. observe the layout of items at a given level of the hierarchy
  3. at any level, node labels have an indentation, but leave labels have a slightly different one
    In the provided screenshot, one can believe that item_3 is a child of item_2, but they are siblings.

Expected Behaviour

Item Labels (of node items and leaf items) at the same level in a hierarchy should be vertically aligned.

Screenshots or Videos

2024-02-08_AnalyticalTable_hierarchical_nodesAndLeavesIndentationIssue

UI5 Web Components for React Version

latest

UI5 Web Components Version

latest

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

No response

Declaration

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions