You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+13
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,16 @@
1
+
## 0.18.3
2
+
3
+
Added a feature to the sequential-workflow-designer-react package that enables re-rendering the canvas when you pass a new instance of the wrapped definition. The instance of the definition must remain the same. This enables easy manipulation of the definition from outside the designer in your React application.
4
+
5
+
```tsx
6
+
function action() {
7
+
const newStep:Step= { /* ... */ };
8
+
9
+
definition.value.sequence.push(newStep);
10
+
setDefinition({ ...definition });
11
+
}
12
+
```
13
+
1
14
## 0.18.2
2
15
3
16
This version corrects a bug in the `moveViewportToStep` method that caused the viewport to move to the incorrect position.
0 commit comments