I have written code for file upload using ng2file upload in angular6. Able to upload multiple files successfully in firefox, chrome and edge but not working for IE11. onSelectedFile() event is triggering twice in Ie11.
I have tried below code:
<input type='file' [uploader]='uploader' multiple (onSelectedFile)='onSelectedFile' ng2fileupload />
Any suggestion please.
Related
I am using <input type="file" accept="image/*">. when I select the input, the file chooser was open but when select the file, it doesn't select. the issue was only happen when open in Facebook in-app browser with Android 11. it working fine with other Browser.
Does anyone have met the same issue like this?
or Having ways to solve the issue would be appreciate.
Thanks, Rithy
I am using a html input tag with type="file" as in this snippet.
Unfortunately it is not possible to drag the opening file explorer around.
Tested on: Chrome v80 MacOS
Is it possible to make the file dialog draggable?
<input type="file">
No, it isn't. That's just how your browser / OS implement file picker dialogs.
I have ASP.NET Core web application. The view is using iframe to load PDF file from amazon s3.
<iframe style="width:100%;height:100vh" src="https://xxxx.s3-us-west-2.amazonaws.com/mybucket/a_01_03_44_35_5745663485955446.pdf"></iframe>
The above code was working fine until recently.
Now iframe does not show any pdf. When i check network using F12 it shows Protocol and Result/Description as Pending
if copy the URL and paste it into IE 11 directly then browser shows the file.
The above behavior is happening in IE 11 and IE Edge, as usual chrome works fine.
I am not sure if recent windows update has got anything to do with this.
Update 1
I take it back, I cannot open S3 url in IE 11 or IE Edge directly either.
This has nothing to do with ASP.NET Core. Why don't you load the PDF with HttpClient and serve it through a controller. Could also have the benefit that you can cache it if this is frequently requested. Or better use the AWS SDK.
I have the same problem since the begining of 2017/08. The difference is I cannot open the url directly on IE11 and Edge eigther. The F12 network tab also shows both Protocal and Result/Description as Pending. No problem on Chrome, firefox and safari.
Several PCs in our company started having this problem from the same time.
Here is a sample url
(please open this by IE11 on Windows10).
On downloading a file in Chrome, there does not seem to be a way to auto-open HTML files to a browser other than Chrome.
Opening the HTML file from the Downloads folder opens the file in the default browser, as intended. However, when Chrome auto-opens the downloaded file, it just opens in Chrome.
Why I'm asking: I built a Chrome extension that generates an HTML file based on user-selected text in a given webpage. The resulting HTML file, when opened, redirects to another website, to a page that is based on the user's selection. That page does not work properly in Chrome, and it won't for the next 6 months. In the meantime, I learned to program a Chrome extension and I have been blocked on this auto-open problem for 2 weeks.
On Windows 7 without admin privileges.
I use ng-file-upload with AngularJS in my web app and it works great in PC browsers. However, when I open the app in Android Firefox, I am not able to upload files. But it works with Chrome. Nothing comes up when I click the file select button.
Is there anyway to make file upload does not work with FIrefox?
Thank you.