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

Save as image - gray area if page zoom is not 100% #387

Open
Bykiev opened this issue Jun 23, 2023 · 3 comments
Open

Save as image - gray area if page zoom is not 100% #387

Bykiev opened this issue Jun 23, 2023 · 3 comments

Comments

@Bykiev
Copy link

Bykiev commented Jun 23, 2023

When the page zoom is not 100% saved image has gray area

gantt-example (19)

@Bykiev
Copy link
Author

Bykiev commented Jun 27, 2023

I've researched the issue and it seems html2canvas library doesn't support box-shadow, which causes such issue
https://github.com/niklasvh/html2canvas/blob/master/docs/features.md

@Bykiev
Copy link
Author

Bykiev commented Jun 27, 2023

@HandsomeButterball, what do you think about html-to-image library? If it's ok for you, I'd like to contribute on replacing html-to-canvas. It has a better CSS support and allows to export in different image formats.

@walkerkay
Copy link
Collaborator

@HandsomeButterball, what do you think about html-to-image library? If it's ok for you, I'd like to contribute on replacing html-to-canvas. It has a better CSS support and allows to export in different image formats.

I have not tried html-to-image before, and I am not sure if it meets the conversion requirements of ngx-gantt. If you have already tried html-to-image export and confirmed that there are no other issues, please submit a PR

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

No branches or pull requests

2 participants