neo icon indicating copy to clipboard operation
neo copied to clipboard

vdom.Helper: createDeltas() => ensure there are no move OPs to the same index

Open tobiu opened this issue 4 years ago • 1 comments

this does not cause any bugs, but triggers a not needed dom OP.

            if (movedNode) {

                // todo: check if there is a real index change

                deltas.push({
                    action: 'moveNode',
                    id      : oldVnode.id,
                    index   : movedNode.index,
                    parentId: movedNode.parentNode.id
                });

tobiu avatar Jun 17 '21 22:06 tobiu

this should also get added to the latest calendar siesta test.

tobiu avatar Jun 17 '21 22:06 tobiu