Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag gesture on list-item unresponsive when inside a list-item-group #10277

Open
2 of 6 tasks
nwhittaker opened this issue Sep 11, 2024 · 3 comments
Open
2 of 6 tasks
Labels
0 - new New issues that need assignment. ArcGIS Field Apps Issues logged by ArcGIS Field Apps team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. estimate - 8 Requires input from team, consider smaller steps. has workaround Issues have a workaround available in the meantime. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive p - low Issue is non core or affecting less that 10% of people using the library resolution: refine For issues we support, but additional details are needed prior to dev work. spike Issues that need quick investigations for time estimations, prioritization, or a quick assessment.
Milestone

Comments

@nwhittaker
Copy link
Contributor

nwhittaker commented Sep 11, 2024

Check existing issues

Actual Behavior

Given a drag-enabled list of grouped items, dragging an item's handle is unresponsive and does not change item's position within the group.

Interestingly, keyboard navigation does still work. Focusing the drag handle and pressing space+up/down arrow does change the position of the item within the group.

Expected Behavior

An item can be dragged and re-positioned within its item-group.

Reproduction Sample

https://developers.arcgis.com/calcite-design-system/components/list/

Reproduction Steps

  1. Visit the list doc page
  2. Choose the "List with groups" sample
  3. Enable the drag-enabled property
  4. Attempt to drag an item within its group

Reproduction Version

2.12.2

Relevant Info

No response

Regression?

No response

Priority impact

impact - p3 - not time sensitive

Impact

A workaround may be to wrap the list-item contents of the group within a list:

<calcite-list>
  <calcite-group>
    <calcite-list>
      <calcite-list-item /></calcite-list>
  </calcite-group>
</calcite-list>

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 Field Apps

@nwhittaker nwhittaker added 0 - new New issues that need assignment. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review. labels Sep 11, 2024
@github-actions github-actions bot added ArcGIS Field Apps Issues logged by ArcGIS Field Apps team members. calcite-components Issues specific to the @esri/calcite-components package. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive labels Sep 11, 2024
@nwhittaker nwhittaker changed the title Drag gesture on list-item unresponsive when inside a list-item-group Drag gesture on list-item unresponsive when inside a list-item-group Sep 11, 2024
@geospatialem
Copy link
Member

Thanks for reporting @nwhittaker!

For Calcite team members during mitigation -- It appears this is not a regression, as this has been the case when list-item's are within a list-item-group. However, there is keyboard support - not necessarily a workaround - but the functionality is present for keyboard users in 2.10.0 and above, but not for mouse users.

@driskull
Copy link
Member

We should doc this as a known limitation.

@geospatialem geospatialem added the estimate - 8 Requires input from team, consider smaller steps. label Sep 16, 2024
@geospatialem geospatialem added p - low Issue is non core or affecting less that 10% of people using the library and removed needs triage Planning workflow - pending design/dev review. labels Sep 25, 2024
@driskull
Copy link
Member

A workaround may be to wrap the list-item contents of the group within a list:

This might be the best solution. The other option is to setup dragging on the calcite-list-item-group element.

@jcfranco jcfranco added the has workaround Issues have a workaround available in the meantime. label Feb 18, 2025
@geospatialem geospatialem added the spike Issues that need quick investigations for time estimations, prioritization, or a quick assessment. label Feb 18, 2025
@jcfranco jcfranco added the resolution: refine For issues we support, but additional details are needed prior to dev work. label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. ArcGIS Field Apps Issues logged by ArcGIS Field Apps team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. estimate - 8 Requires input from team, consider smaller steps. has workaround Issues have a workaround available in the meantime. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive p - low Issue is non core or affecting less that 10% of people using the library resolution: refine For issues we support, but additional details are needed prior to dev work. spike Issues that need quick investigations for time estimations, prioritization, or a quick assessment.
Projects
None yet
Development

No branches or pull requests

4 participants