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

Transform:translate() not supported yet? #1601

Closed
Joci933 opened this issue Jul 25, 2018 · 3 comments
Closed

Transform:translate() not supported yet? #1601

Joci933 opened this issue Jul 25, 2018 · 3 comments

Comments

@Joci933
Copy link

Joci933 commented Jul 25, 2018

Hi,

Html2canvas will support transform:translate() css property? Now it isn't working well.

Thanks,

@alessandrobelli
Copy link

alessandrobelli commented Jan 15, 2019

I found a solution in my case: the container of the elements with transform:translate() had

overflow: hidden;

I changed it in

overflow: show;

and now my image is shown completely.

@MatthiasPortzel
Copy link

MatthiasPortzel commented Mar 30, 2019

I just ran into this issue. Translations aren't taken into account when calculating overflow (at least for overflow: hidden), and in my case, text was cut off where it would have been without a translation.

This is probably related to #1084, but I haven't confirmed.

@Ricardo-Mochila-Bluesoft

I found a solution in my case: the container of the elements with transform:translate() had

overflow: hidden;

I changed it in

overflow: show;

and now my image is shown completely.

This only happened because overflow: show; is not valid CSS.
That said, it solved your issue because html2canvas doesn't work well with overflow property yet.

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

5 participants