[List item] Child elements behavior can be toggled open
without selection change and event dispatch
#8515
Closed
2 of 6 tasks
Labels
0 - new
New issues that need assignment.
ArcGIS Field Apps
Issues logged by ArcGIS Field Apps team members.
c-list
Issues that pertain to the calcite-list component
calcite-components
Issues specific to the @esri/calcite-components package.
design
Issues that need design consultation prior to development.
enhancement
Issues tied to a new feature or request.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
need more info
Issues that are missing information and/or a clear, actionable description.
needs triage
Planning workflow - pending design/dev review.
p - medium
Issue is non core or affecting less that 60% of people using the library
Check existing issues
Description
A way to opt in to an stripped-down behavior when clicking a
list-item
that contains nestedlist-item
s.Originally posted in #6544, diverging the two separate functions - selection and filtering - for development efforts.
cc @nwhittaker
Acceptance Criteria
Clicking the content area of a list-item with nested list-items:
open
property to show/hide the nested list-items.selected
and does not trigger itscalciteListItemSelect
event.open
property.Relevant Info
Originally posted in #6544, diverging the two separate functions - selection and filtering - for development efforts.
Which Component
list-item
Example Use Case
The Field Maps web app would like to use the calcite-list element to display the layers in a map. For group layers, nested layers are shown as child list-items.
Selecting a leaf layer navigates the app for further handling of the layer. However, the app does not provide further handling for group layers. They are treated more like folders that organize sets of layers -- so clicking them in the list should have no effect other than to drill down to leaf layers.
Priority impact
p2 - want for current milestone
Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: