Skip to content

scrollToElem导致的 bug #5746

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

Open
yn22638 opened this issue Nov 29, 2023 · 1 comment
Open

scrollToElem导致的 bug #5746

yn22638 opened this issue Nov 29, 2023 · 1 comment

Comments

@yn22638
Copy link

yn22638 commented Nov 29, 2023

在使用scrollToElem此方法显示这个问题,已经获取到 editor Dom 层数据,但是调用此方法无法进行滚动锚点定位,请问这是什么原因导致的
image
image
image

@60late
Copy link

60late commented Dec 1, 2023

很有可能是因为同一页面id重复导致的,我之前也遇到过并且给官方提过 pull request,你可以尝试更改不同的id看下能不能解决问题
#5023

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

2 participants