AmruthPillai / Reactive-Resume

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
https://rxresu.me
MIT License
25.89k stars 2.65k forks source link

[Bug] Unable to trigger pdf download more than one time #2060

Open nansmatty opened 2 months ago

nansmatty commented 2 months ago

Is there an existing issue for this?

Product Variant

Cloud (https://rxresu.me)

Current Behavior

The PDF download feature works only the first time when a user creates a new account. If the user downloads the PDF or cancels the save dialog, the feature becomes unresponsive afterward, and no further download attempts succeed. This issue persists even after refreshing the page, clearing cache, or reloading the account.

Expected Behavior

The PDF download feature should be triggered every time the user clicks the "Download PDF" button, regardless of account creation or any previous downloads.

Steps To Reproduce

  1. Create a new account on the platform.
  2. Create a new blank resume or import JSON data.
  3. Navigate to the page where the "Download PDF" button is available.
  4. Click the "Download PDF" button.
  5. Either download the PDF or cancel the save file dialog.
  6. Try clicking the "Download PDF" button again.
  7. Notice that no further downloads are triggered, and the button stops working.

What browsers are you seeing the problem on?

Firefox, Chrome, Microsoft Edge

What template are you using?

Azurill

Anything else?

I've tried every template the PDF Download feature only works one time, although the JSON Download feature works every time.

nonvenomous commented 1 month ago

This sounds a lot like browser behavior blocking multiple downloads from one page. I'm not able to reproduce this bug on Firefox nor Chrome with the cloud variant.

nansmatty commented 1 month ago

This sounds a lot like browser behavior blocking multiple downloads from one page. I'm not able to reproduce this bug on Firefox nor Chrome with the cloud variant.

I've also tried multiple browsers and even changed the config as well in my case download is blocking after one time. So I had to figure out something to download my resume the best idea came up with is to make my resume public and go through the link right click options menu select print and then save it as a PDF.