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

[BUG] Upload component and large file (800 mb ) #2216

Closed
Grinion opened this issue Sep 29, 2018 · 7 comments
Closed

[BUG] Upload component and large file (800 mb ) #2216

Grinion opened this issue Sep 29, 2018 · 7 comments

Comments

@Grinion
Copy link

Grinion commented Sep 29, 2018

Version

1.6.0

Environment

Chrome 69.0.3497.100

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start-hozp9w

Steps to reproduce

Select lager file (which is bigger than 2 Gb ) - result: immediately crash tab
OR
Select lager file (which is bigger than 800 Mb ) result: When progress bar value was about 40 % and next crash tab

What is expected?

The tab should not crash

What is actually happening?

The tab is crash

Other?

@vthinkxie
Copy link
Member

vthinkxie commented Sep 29, 2018

@Grinion
Copy link
Author

Grinion commented Sep 29, 2018

The result is the same

(Also, I try to do it on https://ant.design/components/upload/, there I don't get a crash tab)

@vthinkxie
Copy link
Member

@cipchk plz check this.

@Grinion
Copy link
Author

Grinion commented Sep 29, 2018

@cipchk
Copy link
Member

cipchk commented Sep 29, 2018

@Grinion, you can use manual upload as a temporary solution

@abdelrahmannasr
Copy link

Is there any way to use manual upload as file selector then preview the selected file if it an image

@cipchk
Copy link
Member

cipchk commented Jul 2, 2020

@abdelrahmannasr You can use nzPreviewFile property.

hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants