Skip to content

Commit c99e9b0

Browse files
authored
fix: chrome 117 onCancel event (#6991)
1 parent 3084ced commit c99e9b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/vc-upload/AjaxUploader.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ export default defineComponent({
302302
type="file"
303303
ref={fileInput}
304304
onClick={e => e.stopPropagation()} // https://github.com/ant-design/ant-design/issues/19948
305+
onCancel={e => e.stopPropagation()}
305306
key={uid.value}
306307
style={{ display: 'none' }}
307308
accept={accept}

0 commit comments

Comments
 (0)