Skip to content

Mobile downloaded content display#1

Draft
Navdeepannu wants to merge 1 commit into
mainfrom
cursor/mobile-downloaded-content-display-e0e4
Draft

Mobile downloaded content display#1
Navdeepannu wants to merge 1 commit into
mainfrom
cursor/mobile-downloaded-content-display-e0e4

Conversation

@Navdeepannu

Copy link
Copy Markdown
Owner

Fix mobile PDF/image blob download handling to ensure files are displayed correctly on mobile devices.

The previous blob download implementation was unreliable on mobile browsers (especially iOS Safari) because it clicked an <a download> and immediately revoked the blob URL. This PR updates the downloadBlob function to use window.open for iOS devices and delays URL.revokeObjectURL by 60 seconds to prevent race conditions where mobile browsers fail to load the blob if it's revoked too quickly.

Open in Web Open in Cursor 

Co-authored-by: Navdeep Singh <Navdeepannu@users.noreply.github.com>
@cursor

cursor Bot commented Mar 12, 2026

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel

vercel Bot commented Mar 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
invoicely Ready Ready Preview, Comment Mar 12, 2026 7:30pm
invora Ready Ready Preview, Comment Mar 12, 2026 7:30pm

@coderabbitai

coderabbitai Bot commented Mar 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 734820ac-bcb7-494b-98de-3c56a501fe04

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cursor/mobile-downloaded-content-display-e0e4
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can make CodeRabbit's review stricter and more nitpicky using the `assertive` profile, if that's what you prefer.

Change the reviews.profile setting to assertive to make CodeRabbit's nitpick more issues in your PRs.

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.

2 participants