Skip to content

In the ios environment, the upload component will directly evoke the camera instead of selecting a file #5986

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
f-s2 opened this issue Sep 23, 2022 · 1 comment

Comments

@f-s2
Copy link

f-s2 commented Sep 23, 2022

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.12

Environment

iphone xr,Safari浏览器

Reproduction link

https://antdv.com/components/upload-cn

Steps to reproduce

直接使用 iphone 手机打开 ant design vue 官网 v3.2.12,使用 upload 标签功能进行上传

What is expected?

在不设置 accept 属性时,应该可以选择需要上传的文件

What is actually happening?

点击上传组件会直接唤起 ios 相机,不能选择文件


经过测试,可以设置 capture 属性为 undefined 来解决问题,但官网却没有相关性的说明

@github-actions github-actions bot changed the title ios 环境,upload 组件会直接唤起相机,而非选择文件 In the ios environment, the upload component will directly evoke the camera instead of selecting a file Sep 23, 2022
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants