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

非常长的元素有什么办法吗 #21

Open
nigiwen opened this issue Feb 8, 2025 · 4 comments
Open

非常长的元素有什么办法吗 #21

nigiwen opened this issue Feb 8, 2025 · 4 comments

Comments

@nigiwen
Copy link

nigiwen commented Feb 8, 2025

元素异常 - 当前元素无法渲染canvas,尺寸信息: width - 550, height - 0 坐标: x - 22.63299999999998, y - 573.9450782882791

@asdw741111
Copy link
Owner

@nigiwen 这个只是一个警告,元素高度为0会打印,不影响导出。针对超高元素会自动拆分,除非是canvas、img等本身就特别长而且没有子元素无法拆分的,如果是这种情况建议切图,否则我需要调整渲染逻辑才可以

@nigiwen
Copy link
Author

nigiwen commented Feb 10, 2025 via email

@asdw741111
Copy link
Owner

这样吧,后边我处理下单个元素过高的问题,这个需要多次转canvas

@2254823534
Copy link

这样吧,后边我处理下单个元素过高的问题,这个需要多次转canvas

处理好了吗 大佬

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

3 participants