In the last month we're getting reports that downloads on our page aren't working.
It's a react app. and in it we build some reports on the client side and then download the file using the file-saver library (https://www.npmjs.com/package/file-saver).
Since it's a very popular library and uses the most common ways to download a client side generated file, I find it surprising that it gets blocked.
This affects a lot of your users.
Is this expected behaviour? What can we do in this case to get the file to the user, other than rewriting the whole report generation to the backend?
In the last month we're getting reports that downloads on our page aren't working.
It's a react app. and in it we build some reports on the client side and then download the file using the file-saver library (https://www.npmjs.com/package/file-saver).
Since it's a very popular library and uses the most common ways to download a client side generated file, I find it surprising that it gets blocked. This affects a lot of your users.
Is this expected behaviour? What can we do in this case to get the file to the user, other than rewriting the whole report generation to the backend?
Here's a simple example: https://codepen.io/Stipancic/pen/LYGGOLR