Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## 2.2.1

Position fixes. No API changes.

### bug fixes

- an arrow lagged one render behind an element that moved, e.g. a full grid
cell behind a dragged element (#89), or out of date after a sibling was
inserted (#134). Positions are now measured after commit, before paint.
- an arrow whose `start` or `end` element remounted, or whose id or ref moved
to another element, kept the old node and collapsed onto the viewport origin
(#146, #182). Endpoints are now resolved again on every commit.
- a newly mounted arrow painted its first frame with the previous arrow's
props (stroke width, colors, endpoints).

## 2.2.0

One new prop, and the published types now compile under React 19. No
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-xarrows",
"version": "2.2.0",
"version": "2.2.1",
"author": "Eliav Louski",
"description": "Draw arrows (or lines) between components in React!",
"main": "./lib/index.cjs",
Expand Down
Loading