Skip to content

fix: false error popup on Firefox mobile when opening downloads#1532

Open
bhushan4work wants to merge 1 commit intoimputnet:mainfrom
bhushan4work:fix/firefox-popup-bug
Open

fix: false error popup on Firefox mobile when opening downloads#1532
bhushan4work wants to merge 1 commit intoimputnet:mainfrom
bhushan4work:fix/firefox-popup-bug

Conversation

@bhushan4work
Copy link
Copy Markdown

window.open() return value is unreliable across browsers, especially Firefox mobile, where it may return null even when the tab opens successfully.

This caused a false "blocked" saving dialog to appear even when the download succeeded.

This change removes reliance on the return value of window.open(), preventing incorrect error dialogs.

@bhushan4work
Copy link
Copy Markdown
Author

please review and lemme know if any fix is needed further

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant