Skip to content

Fix. fileuploader fixed - #126

Merged
veronika-tseleva-cleantalk merged 1 commit into
devfrom
fix_55346
Aug 21, 2026
Merged

Fix. fileuploader fixed#126
veronika-tseleva-cleantalk merged 1 commit into
devfrom
fix_55346

Conversation

@veronika-tseleva-cleantalk

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings August 21, 2026 11:52
@veronika-tseleva-cleantalk
veronika-tseleva-cleantalk merged commit 02044e1 into dev Aug 21, 2026
1 check passed

Copilot AI 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.

Pull request overview

This PR updates the FileUploader screenshot capture logic to target the root document element for dom-to-image-more, aligning DOM selection between the dom-to-image-more and html2canvas capture paths and improving consistency of screenshot output.

Changes:

  • Switch dom-to-image-more capture target from document.body to document.documentElement.
  • Remove redundant windowWidth / windowHeight options from the html2canvas invocation.
  • Propagate the same changes into the distributed (bundled/minified) build artifacts.

Reviewed changes

Copilot reviewed 1 out of 4 changed files in this pull request and generated no comments.

File Description
js/src/fileuploader.js Updates screenshot capture target and simplifies html2canvas options.
dist/doboard-widget-bundle.js Mirrors the screenshot capture changes in the distributable bundle.
dist/doboard-widget-bundle.min.js Mirrors the screenshot capture changes in the minified distributable bundle.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

3 participants