Skip to content

Tree: descendant tree-items are not selected when parent is selected on initial render in selection-mode='ancestor' #7577

@anveshmekala

Description

@anveshmekala

Check existing issues

Actual Behavior

When a tree-item has selected attribute on initial render the descendant tree-items are not selected

Expected Behavior

If a tree-item has selected attribute any descendant items are expected to be selected.

Reproduction Sample

https://codepen.io/ANVESHMEKALA/pen/GRPJpVX?editors=1000

Reproduction Steps

  1. Open the Codepen
  2. Observe tree-item with text California has selected attribute.
  3. Observe none of the descendants are selected.

Reproduction Version

1.6.1

Relevant Info

No response

Regression?

No response

Priority impact

p4 - not time sensitive

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react

Esri team

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.bugBug reports for broken functionality. Issues should include a reproduction of the bug.calcite-componentsIssues specific to the @esri/calcite-components package.estimate - 3A day or two of work, likely requires updates to tests.needs milestonePlanning workflow - pending milestone assignment, has priority and/or estimate.p - highIssue should be addressed in the current milestone, impacts component or core functionality

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions