Skip to content

Commit 64585de

Browse files
author
minjk-bl
committed
Fix task bluring, focusing popup issue on Popup
1 parent 4844f88 commit 64585de

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

visualpython/js/com/component/PopupComponent.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ define([
10461046

10471047
this._bindCodemirror();
10481048

1049-
if (targetFrame !== undefined) {
1049+
if (targetFrame == undefined) {
10501050
$(this.eventTarget).trigger({
10511051
type: 'focus_option_page',
10521052
component: this
@@ -1112,6 +1112,10 @@ define([
11121112

11131113
blur() {
11141114
$(this.wrapSelector()).removeClass('vp-focused');
1115+
// blur on its block
1116+
if (this.taskItem) {
1117+
this.taskItem.blurItem();
1118+
}
11151119
}
11161120

11171121
show() {

0 commit comments

Comments
 (0)