rrweb
rrweb copied to clipboard
How do I use percentage to record scroll length
I have a problem here. In the player, in the scrolling area of recorded content, the scroll bar cannot scroll to the end.
I think it may be that the default font of the device used at the recording end is different from that in the player, so the width and height of the drawn rolling area are inconsistent, so I want to modify it to record the rolling distance by percentage. How do I change this function
我在issues里面查找了一遍,我认为问题可能和issue #554 是相同的,我先尝试一下那个解决办法,如果奏效,emmmmm
I looked it up in issues. I think the problem may be the same as issue #554. I'll try that solution first. If it works, emmmmm
我尝试了这个方案,但是它没有奏效,是否是我使用的版本太旧
没有奏效的现象是?
我认为是客户端那边H5页面的问题,有一段富文本的内容,用的px单位,在hdpi的设备上,在原设备上看到的时候很小,滚动条稍微滚动就可以到底,然后回放渲染出来时候字体相对会变大一些,导致滚动条长度就变长了,相同的滚动距离没法滚到最下面的位置
现象是滚动条会隐藏掉,但是滚动条长度仍然存在一定的偏差,内容越多偏差越大
这个问题解决了吗 我现在也是这个现象 移动端h5上滚动到最底部 但是回溯出来并没有滚动到最底部
@Yuyz0112 大佬能帮忙看看吗
我解决了 记录下 我是发现回溯时 根字节 size被放大了 后面手动插入字体css 就可以了