IE7加载游标闪烁,使页面缓慢响应 [英] IE7 loading cursor flickers and makes page slow to respond

查看:113
本文介绍了IE7加载游标闪烁,使页面缓慢响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,即移动光标并点击文本字段会导致页面显示等待光标,并使该页面无响应。

I have a problem where moving the cursor and clicking in text fields causes the page to show a wait cursor and also makes the page very unresponsive.

请参阅此视频的一个例子。

这只会发生在 IE7

我试过检查我认为它可能是发送ajax请求(认为这可能是改变光标)。

I've tried checking where I think it might be sending off ajax requests (thought this could be changing the cursor).

我已经检查过我认为多个事件可能会同时触发,并尝试将其注释掉。

I've checked where I think multiple events may be firing simultaneously and tried commenting it out.

strong>有没有人看到类似的事情发生,可以指出我的方向正确?

Has anyone seen anything similar happen and can point me in the right direction?

什么是IE7显示等待游标的标准? / strong>

What is IE7's criteria for displaying the wait cursor?

推荐答案

最后我缩小了问题范围。在消除了一位一位的代码后,我推断出问题不是由JavaScript引起的,它是一个css问题。

Eventually I narrowed down the issue. After eliminating code bit by bit I deduced the problem isn't caused by JavaScript at all, it's a css issue.

css的确切行是

overflow-y: auto

我不知道确切的情况再现它。但对于一点信息,可能会帮助其他...容器的CSS应用于绝对定位。它有一个固定的大小(似乎在JavaScript中改变)和宽度。它的父容器是一个 div display:block;

I don't know exactly the circumstances to reproduce it. But for a bit of info that might help others... The container the css is applied to is positioned absolutely. It has a fixed size (which also seems to be changed in JavaScript) and width. It's parent container is a div with display:block;.

好奇地,如果你滚动到容器的底部并备份它似乎修复闪烁的错误。

Curiously if you scroll to the bottom of the container and back up it seems to fix the flickering bug.

这篇关于IE7加载游标闪烁,使页面缓慢响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆