Skip to content

fix: address issue with createFromArray described in #242#287

Merged
franzose merged 1 commit into7.xfrom
fix/create-from-array-positions
Feb 3, 2026
Merged

fix: address issue with createFromArray described in #242#287
franzose merged 1 commit into7.xfrom
fix/create-from-array-positions

Conversation

@franzose
Copy link
Owner

@franzose franzose commented Feb 3, 2026

Issue

#242

Summary

  1. Preserve explicit position values on initial insert while keeping existing move/update clamping behavior.
  2. Ensure createFromArray() inserts are ordered by explicit positions (stable) to avoid sibling reordering shifts.
  3. Add regression tests for explicit positions, position gaps, and implicit positioning.
  4. Update examples to document the fixed behavior.

@franzose franzose self-assigned this Feb 3, 2026
@franzose franzose added the bug label Feb 3, 2026
@franzose franzose merged commit ff6d1bb into 7.x Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant