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-origin is ignored in Safari 15.3 and below #296

Open
artemtumin opened this issue Jul 13, 2022 · 2 comments
Open

transform-origin is ignored in Safari 15.3 and below #296

artemtumin opened this issue Jul 13, 2022 · 2 comments

Comments

@artemtumin
Copy link
Contributor

The issue appears to be the in Safari, window.getComputedStyle(...).cssText doesn't include transform-origin even though window.getComputedStyle(...).transformOrigin exists.

Expected Behavior

Generated image should support transform-origin;

Current Behavior

transform-origin is ignored

Possible Solution

I think, solution should be similar to this one

Steps To Reproduce

Example: https://jsfiddle.net/8mdgtbps/3/

  1. Open this link with Safari
  2. Click 'Change transform to 0 0'
  3. Click 'Generate Image' button

Additional Context

Screenshot 2022-07-13 at 12 24 17

Your Environment

  • html-to-image: 1.9.0
  • OS: macOS Monterey 12.2.1
  • Browser: Safari Version 15.3 (17612.4.9.1.8)
@artemtumin artemtumin added the bug label Jul 13, 2022
@vivcat
Copy link
Contributor

vivcat bot commented Jul 13, 2022

👋 @artemtumin

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@vivcat
Copy link
Contributor

vivcat bot commented Aug 3, 2022

Hiya!
This issue has gone quiet. Spooky quiet. 👻
We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.

Thanks for being a part of the Antv community! 💪💯

@vivcat vivcat bot added the stale label Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant