Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): use window instead of document for image pasting #7558

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

maryhipp
Copy link
Collaborator

Summary

Use window.addEventListener instead of document.addEventListener for better compatibility with react wrapper when pasting images

Related Issues / Discussions

QA Instructions

Merge Plan

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added the frontend PRs that change frontend files label Jan 15, 2025
@maryhipp maryhipp merged commit 2d3e2f1 into main Jan 15, 2025
15 checks passed
@maryhipp maryhipp deleted the maryhipp/window-for-paste branch January 15, 2025 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants