Skip to content

Allow share copy fallback without window - #10581

Open
Tomeshwari-02 wants to merge 1 commit into
SandeepVashishtha:masterfrom
Tomeshwari-02:fix/share-copy-fallback-success-10571
Open

Allow share copy fallback without window#10581
Tomeshwari-02 wants to merge 1 commit into
SandeepVashishtha:masterfrom
Tomeshwari-02:fix/share-copy-fallback-success-10571

Conversation

@Tomeshwari-02

Copy link
Copy Markdown

Summary

  • allows the clipboard fallback to run when a document is available without a window object
  • keeps modern navigator clipboard behavior unchanged

Validation

  • node --test tests\shareUtils-copyToClipboard.test.mjs tests\shareUtils.test.mjs

Fixes #10571

@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

@Tomeshwari-02 is attempting to deploy a commit to the sandeepvashishtha's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added level:beginner 20pts type:bug quality:clean 1.2x gssoc:approved gssoc approved PR size/XS Extra-small pull request labels Jul 13, 2026

@codescene-access codescene-access Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our agent can fix these. Install it.

No quality gates enabled for this code.

Quality Gate Profile: Custom Configuration
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.

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

Labels

gssoc:approved gssoc approved PR level:beginner 20pts quality:clean 1.2x size/XS Extra-small pull request type:bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: shareUtils fallback copy path still reports failure after successful execCommand

1 participant