Example is not working
I've accessed this example link but it seemed not to be working. Nothing happened when I clicked Generate Pdf button.
https://codesandbox.io/s/l2l4pz0jyl
Could you please give me a working one?
With Chrome clicking on the Generate Pdf button I get: Download is disallowed. The frame initiating or instantiating the download is sandboxed, but the flag ‘allow-downloads’ is not set. See https://www.chromestatus.com/feature/5706745674465280 for more details.
Using the sandbox with Firefox works ok.
I tried the sandbox example.I can download the document but it's empty.
When using CodeSandbox the application needs to be opened in a new window in order for the generate pdf button to work. The saved PDF does not seem to be an accurate view of the page however.