Skip to content

Commit 3297f7a

Browse files
committed
fix: modal esc not work
1 parent 8013592 commit 3297f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-dialog/Dialog.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export default defineComponent({
167167
/>
168168
<div
169169
tabIndex={-1}
170-
onKeyDown={onWrapperKeyDown}
170+
onKeydown={onWrapperKeyDown}
171171
class={classNames(`${prefixCls}-wrap`, wrapClassName)}
172172
ref={wrapperRef}
173173
onClick={onWrapperClick}

0 commit comments

Comments
 (0)