Search and Top Navigation
#8503 closed bug (notabug)
Opened August 16, 2012 02:46PM UTC
Closed August 17, 2012 12:58PM UTC
Sortable stack the ie9 randomly in jquery-ui-1.8.23
Reported by: | alex | Owned by: | alex |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.sortable | Version: | 1.8.23 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have a sortable on my page, before 1.8.23 I had jquery-ui-1.8.21 and jquery 1.7.2
and all worked just fine, after I started to use jquery ui-1.8.23 and jquery 1.8.0 while randomly dragging the portlets the internet explorer just started to randomly stack and I get "the internet explorer not responding due o a long running script" and then I get exception of jquery-1.8.0
line 2, col 75332 ch 75332
{return bL.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""}
I have IE9 with compatibility mode to IE8
Thanks
Attachments (0)
Change History (11)
Changed August 16, 2012 10:50PM UTC by comment:1
owner: | → alex |
---|---|
status: | new → pending |
Changed August 17, 2012 07:06AM UTC by comment:2
status: | pending → new |
---|
Hi,
I'm providing you the demo project + swf video you can see the problem on my machine, when it stacks the cpu jumps to 100%.
It does happens by 2 conditions:
1) The browser compatibility set to IE8 - <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
2) Using jquery-1.8.0.js (if I use jquery-1.7.2.min.js all is working well)
Please run and the see the swf first for seeing the bug.
Thanks
www.avgraphics.co.il/jquery/index.html - video
www.avgraphics.co.il/jquery/3.swf - video
www.avgraphics.co.il/jquery/bug.rar - project
Changed August 17, 2012 11:30AM UTC by comment:3
status: | new → pending |
---|
Please provide a live demo, preferably using jsbin or jsFiddle, not a rar that must be downloaded and extracted. Thanks.
Changed August 17, 2012 11:43AM UTC by comment:4
status: | pending → new |
---|
Sorry, I don't know how to use jsbin or jsFiddle, never used it, I'm a new developer. I just found a bug in jquery UI and thought I may contribute to the community.
Changed August 17, 2012 11:49AM UTC by comment:5
status: | new → pending |
---|
You just write code, it's pretty straight forward. Here's a starting point: http://jsbin.com/ibaguj/1/edit
Changed August 17, 2012 12:17PM UTC by comment:6
status: | pending → new |
---|
Here it is, but i can't make it draggable, Maybe I need to add more reference?
Changed August 17, 2012 12:23PM UTC by comment:7
status: | new → pending |
---|
There are a few problems here:
- You're loading jQuery UI 1.8.13.
- You're trying to load everything twice and the second set of references don't exist.
- This is overlay complex.
Either provide a reduced test case showing the problem or ask for help on the forums.
Changed August 17, 2012 12:33PM UTC by comment:8
status: | pending → new |
---|
Here It is: http://jsbin.com/ibaguj/6
Just make sure you are in a compatibility mode of IE8 (should be by default as I inserted meta EmulateIE8)
Anyway please clean your cache before tring it.
Stacks after dragging it randomly and fast
Changed August 17, 2012 12:40PM UTC by comment:9
status: | new → pending |
---|
After removing your code that's not actually related to the sortable plugin, I do not see the problem: http://jsbin.com/ibaguj/9/edit
Again, either provide a reduced test case showing that sortable is the cause of the problem or ask for help on the forums or StackOverflow.
Changed August 17, 2012 12:51PM UTC by comment:10
status: | pending → new |
---|
Sorry for miss understanding, but I thought if the simple jquery code like mouseenter and mouseleave stacks with jquery ui then it must be a jquery UI bug.
Do you think should I forward i to jquery support team?
Changed August 17, 2012 12:58PM UTC by comment:11
resolution: | → invalid |
---|---|
status: | new → closed |
You should analyze your code to figure out what you're doing that's causing the spikes. It's probably related to all of the animations you're running.
I'm not seeing this error with our portlets demo. Can you provide a reduced test case showing the problem?