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
Screenshot offset problem, to solve. Refer to the following screenshot for details: #2769
Comments
Hello, I tried, but I still can't. |
I used It is very hacky. I hope the author is going to fix it soon. |
same hope. |
Could you please share a repro on jsfiddle.net? |
Hello, you can add placeholder text in input. Then use html2canvas to generate and see the performance. It will have text position offset. Reference Repro: Please click download it to compare the position change of placeholder text before and after the image generated by html2canvas. |
Another reproduction 1.3.4: https://jsfiddle.net/6dfwc034/1/ And reproduction for 1.4.0: https://jsfiddle.net/6dfwc034/2/ In my actual project the shift down is a lot more than the few pixels here but i'm not sure what is the cause of that. |
你好,试了,不行。input框内的placeholder文本默认居中显示,但截图后依然发生偏移。 |
Any updates on this? Looks like there's several tickets opened regarding a similar issue, and some open PRs that might fix. |
same question |
Some PR claims that this error is fixed, but it's not merged yet. Any updates? |
我找到原因了 回复之后才发现@ohaibbq 已经提交了合并请求,希望这个bug被尽快合并吧 |
I’m using the latest1.3.3
Bug reports:
Before screenshot
After screenshot
Specifications:
The text was updated successfully, but these errors were encountered: