Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 of 3 tasks
anveshmekala opened this issue Aug 22, 2023 · 1 comment
Labels
4 - verified Issues that have been released and confirmed resolved. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. estimate - 3 A day or two of work, likely requires updates to tests. needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. p - high Issue should be addressed in the current milestone, impacts component or core functionality

Comments

@anveshmekala
Copy link
Contributor

anveshmekala commented Aug 22, 2023

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

@anveshmekala anveshmekala added bug Bug reports for broken functionality. Issues should include a reproduction of the bug. 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. labels Aug 22, 2023
@github-actions github-actions bot added the calcite-components Issues specific to the @esri/calcite-components package. label Aug 22, 2023
@anveshmekala anveshmekala added the p - medium Issue is non core or affecting less that 60% of people using the library label Aug 22, 2023
@github-actions github-actions bot added the impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive label Aug 22, 2023
@anveshmekala anveshmekala added p3 - want for upcoming milestone and removed impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive p - medium Issue is non core or affecting less that 60% of people using the library labels Aug 22, 2023
@geospatialem geospatialem added p - high Issue should be addressed in the current milestone, impacts component or core functionality estimate - 3 A day or two of work, likely requires updates to tests. needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. 4 - verified Issues that have been released and confirmed resolved. and removed needs triage Planning workflow - pending design/dev review. 0 - new New issues that need assignment. labels Sep 5, 2023
@geospatialem geospatialem added this to the 2023 August Priorities milestone Sep 5, 2023
@geospatialem
Copy link
Member

Verified in 1.7.1, per fix from #7572. cc @anveshmekala

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 - verified Issues that have been released and confirmed resolved. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. estimate - 3 A day or two of work, likely requires updates to tests. needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. p - high Issue should be addressed in the current milestone, impacts component or core functionality
Projects
None yet
Development

No branches or pull requests

2 participants