diff --git a/.changeset/hungry-shrimps-remain.md b/.changeset/hungry-shrimps-remain.md new file mode 100644 index 00000000..abf4ef75 --- /dev/null +++ b/.changeset/hungry-shrimps-remain.md @@ -0,0 +1,5 @@ +--- +'@xyflow/react': minor +--- + +You can now express paddings in fitViewOptions as pixels ('30px'), as viewport percentages ('20%') and define different paddings for each side. diff --git a/.changeset/poor-poems-visit.md b/.changeset/poor-poems-visit.md index 4aeb827d..8a258582 100644 --- a/.changeset/poor-poems-visit.md +++ b/.changeset/poor-poems-visit.md @@ -1,7 +1,7 @@ --- -'@xyflow/react': minor +'@xyflow/react': patch '@xyflow/svelte': patch '@xyflow/system': patch --- -Fix fitView not working when adding new nodes +Fix fitView not working immediately after adding new nodes