-
Notifications
You must be signed in to change notification settings - Fork 364
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
分页时文字也被截取了,怎么解决!! #8
Comments
@HinduLotus 碰到同样的问题了,你解决了吗 |
我的内容不是固定的。这样肯定不行。 |
怎么解决得呀 @zlLotus |
貌似我也遇到了 |
图片也会被截取掉一半在下一页,悲剧,我想了一个计算的方法,不知道有没有大神能够实现,就是转换成canvas的时候,先计算每个dom的高度相加,例如我这里最后一个img标签是高度300px,然后200px是在第一页,100px在第二页,会被截断,然后就利用一个算法计算出来这个高度,然后动态插入一个高度200px的div把图片挤到下一页,后面的页面和其他的dom按钮或者什么的也可以使用此类方法,不知道有没有大神能够实现这个算法T-T |
我最近正好写了一个库 |
The text was updated successfully, but these errors were encountered: