Skip to content

Bug - TreeView - duplicate ID #12241

@grgrzybek

Description

@grgrzybek

Describe the problem
duplicated id attribute with <TreeView> component

How do you reproduce the problem?
Check #11842 (comment)

Expected behavior
no duplicate id

Is this issue blocking you?
it may affect styling by ID css rule

Screenshots

<div class="pf-v6-c-tree-view pf-m-guides" id="jmx-tree-view">
  <div class="pf-v6-c-toolbar" ...
  <hr class="pf-v6-c-divider">
  <ul aria-multiselectable="false" class="pf-v6-c-tree-view__list" id="jmx-tree-view" role="tree">
...

What is your environment?
any browser

What is your product and what release date are you targeting?

Any other information?

The ...props (including id) propagation down was introduced in bfc382c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions