When I have a modal JQuery dialog open in IE8, my CPU usage goes to 100% (no, actually 50, but that's 100% of one core). If I break developer tools, it seems that it's a lot of resize events firing (I don't do any volontary resizing). Has someone else encountered this issue and knows how to fix it?
相关问题
- Setting 'option' on jqueryui DatePicker cl
- Javascript does not work in IE8
- IE8 Form Not Submitting (Intermittent)
- jquery-ui progressbar not showing
- Some images won't display in IE7 or IE8
相关文章
- jQuery UI Sortable: Scroll entire page as well as
- Set the z-index value of a jQuery autocomplete inp
- jQuery UI Sortable animations
- jQuery accordion: prevent pane from opening/cancel
- jQuery UI datepicker - Trying to capture click eve
- Disabling ctrl-click on jquery ui selectable
- Slide content / page transition
- How to style an unordered list with jQuery UI so t
I've seen things like this happen when something is filling a container at 100% width and height, and that container has overflow:auto. Which makes it bounce back and forth endlessly trying to fit in the container, but then the container adds or removes scrollbars. Don't know if this is applicable to your situation, but maybe something similar.
I had a similar issue, IE was firing the windowResize event many times per second and maxing out the client CPU. The fix detailed here worked perfectly: http://www.frebsite.nl/projects/windowresizefix/
The solution is to add this to your CSS file:
reference