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

[Bug]: seeking breaks 2d canvas playback #1285

Open
1 task done
Rxdey opened this issue Aug 11, 2023 · 1 comment
Open
1 task done

[Bug]: seeking breaks 2d canvas playback #1285

Rxdey opened this issue Aug 11, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Rxdey
Copy link

Rxdey commented Aug 11, 2023

Preflight Checklist

  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.

What package is this bug report for?

rrweb-player

Version

2.0.0-alpha.4

Expected Behavior

调用replayer.playreplayer.pause指定时间段时,录制的canvas能正确回放

Actual Behavior

直接播放不指定时间可以正常回放
指定时间暂停/播放就会变成下图

  • 录制的canvas签名版内容

  • 指定播放/暂停时间

Steps to Reproduce

在rrwebdebug.com回放页面暂停后直接点击进度条跳转也能复现

Testcase Gist URL

https://rrwebdebug.com/play/index.html?url=https%3A%2F%2Fgist.github.com%2FRxdey%2Fab148b78cd86d8738112912b04f53e17&version=2.0.0-alpha.8&canvas=on&virtual-dom=on&play=on

Additional Information

No response

@Rxdey Rxdey added the bug Something isn't working label Aug 11, 2023
@Juice10 Juice10 changed the title [Bug]: canvas,指定回放时间 (播放/暂停) 会出现大量冗余线条 [Bug]: seeking breaks 2d canvas playback Aug 11, 2023
@lxf8808
Copy link

lxf8808 commented Aug 21, 2023

能放这个demo出来吗,我的项目也要使用canvas重写,学习下,感谢大佬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants