JQuery UI modal uses a 100% processor

When I have a jQuery modal dialog open in IE8, my CPU usage goes 100% (no, actually 50, but it's 100% of one core). If I break the developer tools, it seems that I have a lot of changes in the size of the events (I do not make any changes in the font size). Has anyone else encountered this problem and knows how to fix it?

+6
jquery-ui internet-explorer-8 modal-dialog
source share
3 answers

The solution is to add this to your CSS file:

.ui-widget-overlay { position: fixed; } 

link

+11
source share

I saw things like this happen when something fills a container with a speed of 100% and height, and this container has overflow: auto. This causes it to go back and forth, endlessly trying to fit into the container, but then the container adds or removes scroll bars. I don’t know if this applies to your situation, but it could be something like that.

+4
source share

I had a similar problem, IE triggered the windowResize event many times per second and maximized the client CPU. Detailed description fixed: http://www.frebsite.nl/projects/windowresizefix/

+1
source share

All Articles