Skip to content

list: newIndex event detail for calciteListOrderChange is incorrect when ArrowDown key is used #8464

@driskull

Description

@driskull

Check existing issues

Actual Behavior

newIndex event detail for calciteListOrderChange is incorrect when ArrowDown key is used

Expected Behavior

event detail should be accurate

Reproduction Sample

https://codepen.io/driskull/pen/mdobRNz?editors=1000

Reproduction Steps

  1. open codepen
  2. open console
  3. click on first drag icon
  4. hit the space key
  5. hit the down arrow key
  6. notice the newIndex is 2 when it should be 1.

Reproduction Version

2.1.0

Relevant Info

No response

Regression?

No response

Priority impact

p2 - want for current milestone

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-angular
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Maps SDK for JavaScript

Metadata

Metadata

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.ArcGIS Maps SDK for JavaScriptIssues logged by ArcGIS SDK for JavaScript team members.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.impact - p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestone

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions