fix: chrome 117 onCancel event (#6991)

pull/7025/head
果冻橙 1 year ago committed by GitHub
parent 3084ced55f
commit c99e9b00bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -302,6 +302,7 @@ export default defineComponent({
type="file" type="file"
ref={fileInput} ref={fileInput}
onClick={e => e.stopPropagation()} // https://github.com/ant-design/ant-design/issues/19948 onClick={e => e.stopPropagation()} // https://github.com/ant-design/ant-design/issues/19948
onCancel={e => e.stopPropagation()}
key={uid.value} key={uid.value}
style={{ display: 'none' }} style={{ display: 'none' }}
accept={accept} accept={accept}

Loading…
Cancel
Save