Skip to content
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

File Selector does not appear when clicking on Upload component on macOS Big Sur (version 11.2.3) using Chrome #30193

Closed
1 task
AdrianaQyL opened this issue Apr 17, 2021 · 5 comments
Labels

Comments

@AdrianaQyL
Copy link

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

Reproduction link

https://nnh0z.csb.app/

Steps to reproduce

Click on the upload button, or click any Upload component in the examples at https://ant.design/components/upload/ in Chrome (version 90.0.4430.72), using a macOS Big Sur (version 11.2.3) computer.

What is expected?

A file selector should pop up when the user clicks on the Upload component.

What is actually happening?

Nothing happens after clicking on the component.

Environment Info
antd 4.15.1
React 17.0.2
System macOS Big Sur (version 11.2.3)
Browser Chrome (version 90.0.4430.72)

It was ok when the system was macOS Catalina. It also works well on another computer with a different system but the same version Chrome. This issue doesn't happen in Safari. Restart the computer (or browser) does not solve the problem.

@AleksanderKoko
Copy link

I think this is a problem related to rc-upload package as antd is using that package to handle uploads. Tried the rc-upload demo on Firefox, it works, on Chrome Mac OS it doesn't. It seems to mirror the tests on antd as well.

@AleksanderKoko
Copy link

After some testing, on Chrome Mac OS intel works as expected. Chrome Dev Mac OS M1 works. I don't think this is related to atnd or rc-upload as other upload methods are broken on my Chrome installation as well.

@sweetyangtian
Copy link

+1

macOS Big Sur (version 11.5.2);Chrome (version 95.0.4638.69);antd (4.16.13、3.26.16)

@afc163
Copy link
Member

afc163 commented Nov 17, 2021

@sweetyangtian @AleksanderKoko Could you try <input type="file" /> in your Chrome.

@alexMotomtech
Copy link

I tried to do that. It wasn't a problem with ant or rc-upload. It was a specific version of Chrome on M1. After updating the browser to the latest version it worked. @afc163

@afc163 afc163 closed this as completed Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants