[Drag-n-drop Sortable List] Sorting breaks when using screen action with list append/remove on sortable records

Forge Component
Published on 2018-10-23 by Armando Gomes
24 votes
Published on 2018-10-23 by Armando Gomes

If I have a screen action that does a list append/remove on the list records also used by the sortable web block, the sorting functionality stops functioning correctly. Just the presence of the screen action is enough to break the sorting functionality, I don't actually have to call the screen action for the sorting to stop working. When I grab an item to reorder it, the preview gets really skinny and tall, and won't snap into any of the spaces between records.

My work around was to just append/remove elements from my source list, and refresh the container with my sortable web block and list records in it, but I would prefer to not have to refresh my list records each time I modify the list.

I'm on Outsystems 10, and I'm using the version 3.0.0 of the sorting component.