Skip to content

Commit 6eb1500

Browse files
committed
Merge branch 'main' of https://github.com/KWizCom/fluentui into main
2 parents bb8acc3 + 463bf9a commit 6eb1500

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kwiz/fluentui",
3-
"version": "1.0.69",
3+
"version": "1.0.70",
44
"description": "KWIZ common controls for FluentUI",
55
"module": "dist/index.js",
66
"types": "dist/index.d.ts",

src/controls/canvas/DrawPad.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,12 @@ export const DrawPad: React.FunctionComponent<iProps> = (props) => {
121121
: isNotEmptyString(props.DefaultBackdrop)
122122
? props.DefaultBackdrop
123123
: "";
124-
if (canvasValue !== neededValue) {
124+
if (canvasValue !== neededValue ||
125+
(
126+
isNullOrEmptyString(canvasValue) &&
127+
isNullOrEmptyString(neededValue)
128+
)
129+
) {
125130
UpdateCanvas(neededValue);//if called repeatedly or too fast - may not load correctly
126131
}
127132
}

0 commit comments

Comments
 (0)