Skip to content

Commit 1fe51c9

Browse files
jikkaiLeopoldthecoder
authored andcommitted
ColorPicker: prevent active-change event when picker is closed (#11304)
1 parent bcfb1d3 commit 1fe51c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/color-picker/src/main.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
}
9797
},
9898
displayedColor(val) {
99+
if (!this.showPicker) return;
99100
const currentValueColor = new Color({
100101
enableAlpha: this.showAlpha,
101102
format: this.colorFormat

0 commit comments

Comments
 (0)