List drag menu 'Move to' actions broken when list elements have explicit id
s
#11513
Closed
2 of 6 tasks
Labels
4 - verified
Issues that have been released and confirmed resolved.
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.
estimate - 3
A day or two of work, likely requires updates to tests.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Milestone
Check existing issues
Actual Behavior
When three or more lists are configured to allow dragging between each other, and the
<calcite-list>
elements are given explicitid
attributes, the drag menu actions work inconsistently. They will succeed in moving items to another list, but not always the list you want to move it to.We initially encountered this in a nested list scenarios, but nesting is not required. I modified one of the documentation samples to come up with a repro case (see below). In it, each
<calcite-list>
element has an explicitid
attribute, and they are unique within the document. If I remove these explicitid
s, the drag menus work correctly.Expected Behavior
Developers should be able to add
id
attributes to elements at their discretion, without affecting internal calcite functionality.Reproduction Sample
https://codepen.io/_timmorey_/pen/myddmWO?editors=1000
Reproduction Steps
Reproduction Version
3.0.0
Relevant Info
No response
Regression?
No response
Priority impact
impact - p2 - want for an upcoming milestone
Impact
We have worked around this problem by removing our explicit
id
attributes and finding other ways to identify the elements.Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: