Skip to content

Commit 08a1fe9

Browse files
authored
Merge pull request #566 from Tencent/fix/dialog/click-on-overlay
fix(dialog): causes clicking on the overlay to trigger the close event
2 parents 1fccc9a + 02c913b commit 08a1fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dialog/dialog.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
preventScrollThrough="{{preventScrollThrough}}"
1010
zIndex="{{zIndex}}"
1111
placement="{{center}}"
12-
bindoverlayClick="overlayClick"
12+
bind:visible-change="overlayClick"
1313
>
1414
<view slot="content" class="{{classPrefix}} {{prefix}}-class">
1515
<view class="{{classPrefix}}__content {{prefix}}-class-content">

0 commit comments

Comments
 (0)