Skip to content

fix(tree): parent item behavior of single, children, and multichildren selection modes #6971

@SkyeSeitz

Description

@SkyeSeitz

Actual Behavior

There are a few additional bug fixes needed on the recent adjustments to Tree's selection of parent category w/out selecting children #6926

  1. Hit target to expand parent Tree Item does not include icon + text area
  2. Parent Tree Items with decedents are selectable in single, children, and childrenmulti selection modes

Expected Behavior

  1. Hit target to expand parent Tree Item includes icon + text area
  2. Parent Tree Items with decedents are not selectable in single, children, and multichildren selection modes

NONE
SINGLE
MULTI
CHILDREN
MULTICHILDREN

link to mock ups

Reproduction Sample

https://esri.github.io/calcite-components/?path=/story/components-tree--simple&knob-checked=true&knob-disabled=true&knob-filterEnabled=true&knob-intl-deselect=Deselect&knob-intl-loading=Loading&knob-intl-select=Select&knob-label=Checkbox&knob-loading=true&knob-scale=m&knob-selectable=true&knob-selected=true&knob-thumbnail-position=block-start

Reproduction Steps

Open Tree samples in Story book and click on parents of the mentioned selection modes.

Reproduction Version

v1.3.1

Relevant Info

Related Issues: #6912, #6444, #6509

Regression?

No response

Priority impact

p2 - want for current milestone

Impact

Resolving this bug fix will allow us to move forward on related enhancements & bug fixes to List #6544

Esri team

Calcite (design)

Metadata

Metadata

Assignees

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.Calcite (design)Issues logged by Calcite designers.bugBug reports for broken functionality. Issues should include a reproduction of the bug.c-treeIssues that pertain to the calcite-tree and related componentsestimate - 5A few days of work, definitely requires updates to tests.impact - p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestonep - mediumIssue is non core or affecting less that 60% of people using the library

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions