Skip to content

calciteListOrderChange not emitted on receiving list when using "Move to" menu #12490

Open
@nwhittaker

Description

@nwhittaker

Check existing issues

Actual Behavior

When moving a <calcite-list-item> element between lists using drag-and-drop, the calciteListOrderChange event is emitted by both the sending and receiving <calcite-list> elements. However, when using the Move to menu to move the list-item, the event is only emitted by the sending list.

Expected Behavior

When using the Move to menu to move a list-item, the event is emitted by both the sending and receiving lists.

Reproduction Sample

https://codepen.io/nwhittaker-esri/pen/KwdKrEM

Reproduction Steps

  1. Visit the repro and open the console.
  2. Click on a list-item's sort-handle to open its menu.
  3. In the menu's *Move to group, select the other list.
  4. See in the console which lists emitted the calciteListOrderChange event.
  5. Optionally compare the console output with moving a list item between lists via drag-and-drop.

Reproduction Version

3.2.1

Relevant Info

No response

Regression?

No response

Priority impact

impact - p2 - want for an upcoming milestone

Impact

No response

Calcite package

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

Esri team

ArcGIS Field Apps

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - newNew issues that need assignment.ArcGIS Field AppsIssues logged by ArcGIS Field Apps team members.bugBug reports for broken functionality. Issues should include a reproduction of the bug.impact - p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestoneneeds triagePlanning workflow - pending design/dev review.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions