Skip to content

Keyboard navigation issue in calcite-list #7254

@nid13240

Description

@nid13240

Check existing issues

Actual Behavior

When using custom logic to enable/disable items in the calcite-list, items which were previously disabled and reenabled get skipped during keyboard navigation.

Expected Behavior

I would expect to be able to tab through all the items, even if they were previously disabled and reenabled.

Reproduction Sample

https://codepen.io/nid13240/pen/VwVmzpx

Reproduction Steps

  1. open the codepen above - the logic to enable/disable items is there to mimc some logic we have in the Map Viewer
  2. select the first item in the list with your keyboard (the next 2 items should become disabled)
  3. deselect the first item in the list (those items should become reenabled)
  4. try to tab through the rest of the list
  5. notice the tab skips those 2 items which were previously disabled

Reproduction Version

1.4.3

Relevant Info

No response

Regression?

No response

Priority impact

p3 - want for upcoming milestone

Impact

No response

Calcite package

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

Esri team

ArcGIS Map Viewer

Metadata

Metadata

Assignees

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.ArcGIS Map ViewerIssues logged by ArcGIS Map Viewer team members.bugBug reports for broken functionality. Issues should include a reproduction of the bug.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions