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 screenshot with images #1558

Merged
merged 1 commit into from
Jul 29, 2021

Conversation

zakjan
Copy link
Contributor

@zakjan zakjan commented Jul 23, 2021

If map component contains images, they should be inlined as in the original dom-to-image. Only data URLs can be skipped. https://github.com/tsayen/dom-to-image/blob/master/src/dom-to-image.js#L718

The bug was introduced in 2bb3867#diff-32702aff9a757e2662e92aab458e2f00268c2397a3046ec69701aa6a99ad3db3L827 (expand the diff of src/utils/dom-to-image.js to see it)

@heshan0131 heshan0131 merged commit 5985d20 into keplergl:master Jul 29, 2021
lixun910 pushed a commit to lixun910/kepler.gl that referenced this pull request Aug 13, 2021
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