utils.downloadPage not generating a file

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

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)

I think I may have figured this out... this seems to only occur if the content of the page is exceeding beyond the bounding border of the retool app.

Hi @jmull! Welcome to the community! If you're still running into issues with this, would you be able to share a screenshot of the query?