Skip to content

Commit

Permalink
fix: modal esc not work
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Jan 7, 2022
1 parent 8013592 commit 3297f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/vc-dialog/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export default defineComponent({
/>
<div
tabIndex={-1}
onKeyDown={onWrapperKeyDown}
onKeydown={onWrapperKeyDown}
class={classNames(`${prefixCls}-wrap`, wrapClassName)}
ref={wrapperRef}
onClick={onWrapperClick}
Expand Down

0 comments on commit 3297f7a

Please sign in to comment.