Skip to content

Commit

Permalink
chore: add changesets
Browse files Browse the repository at this point in the history
Signed-off-by: braks <[email protected]>
  • Loading branch information
bcakmakoglu committed Feb 1, 2023
1 parent 35d28ab commit b59dd6a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .changeset/fifty-jobs-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@vue-flow/core': minor
---

Add autopan options. Pans viewport on node drag and/or when drawing a connection line.

### Usage

```ts
useVueFlow({
autoPanOnNodeDrag: true,
autoPanOnConnect: true,
})
```

```vue
<VueFlow v-model="elements" :autoPanOnNodeDrag="true" :autoPanOnConnect="true" />
```
5 changes: 5 additions & 0 deletions .changeset/tall-lizards-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@vue-flow/core': patch
---

Throw warning if viewport dimensions are 0

0 comments on commit b59dd6a

Please sign in to comment.