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

页面元素滞留 #12

Open
ltaoist opened this issue May 29, 2013 · 0 comments
Open

页面元素滞留 #12

ltaoist opened this issue May 29, 2013 · 0 comments
Labels

Comments

@ltaoist
Copy link
Member

ltaoist commented May 29, 2013

在阅读帖子A的时候,切换到看版,又阅读帖子B。如果网速很慢,有可能A帖子的数据会插入到B帖子的上方。

可能是 dom insert 的时间在发生了页面切换之后,然后使用了类似于 $('#id') 的方法,而后者找到了当前的的 #id 而不是A帖子的时候 #id 然后就在B帖子的上方插入了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant