The PDF download function in an app I am working on stopped working recently (PDFs don't download any longer to my Downloads folder in Chrome). It was working previously, but stopped working recently even though nothing changed in the code.
I'm using this method from: Scripting Retool
utils.downloadPage(file_name);
Chrome Version:
Version 91.0.4472.114 (Official Build) (x86_64)
I rebooted Chrome and checked any settings and the only thing I'm seeing is this in the console when I click on the "Download" button is the message below, but I'm not sure what it means (derived from the default custom control)...
TypeError: Cannot read property 'getBoundingClientRect' of null
at downloadPage.ts:47
at Generator.next ()
at a (app.5857bcf6645c267174e5.js:2)