refactor(react): add setAttributes for dimension changes

This commit is contained in:
moklick
2024-04-22 14:51:23 +02:00
parent 973a3ddd35
commit 7e8bcd8825
5 changed files with 12 additions and 4 deletions
+6 -2
View File
@@ -1,12 +1,16 @@
# @xyflow/react
## 12.0.0-next.xx
## 12.0.0-next.15
## Patch changes
- re-observe nodes when using `onlyRenderVisibleElements={true}`
- use correct positions for intersection helpers
- fix minimap interaction for touch devices
- pass user nodes to `onSelectionChange` instead of internal ones
- pass user nodes to `onSelectionChange` instead of internal ones to work with Redux
- call `onEnd` in XYResizer thanks @tonyf
- cleanup `getPositionWithOrigin` usage
- use `setAttributes` flag for dimension change when `width`/`height` should be set
## 12.0.0-next.14