Skip to content
This repository

IE 8 issue #19

Open
hemantgogia09 opened this Issue · 15 comments

5 participants

Hemant Gogia Scott Elwood Eirik H maskddingo Youry
Hemant Gogia

I want to use this plugin but its not supported in IE 8 can you give me any fix for this?

Hemant Gogia

sorry didnt see closed issue for IE 8 thanx anyway

Hemant Gogia

Sorry but tested this on ie8 browser on friends computer its not working

Scott Elwood
Owner

Will test this soon.

Hemant Gogia

I really want to use this plugin immediatly could you please fix this as soon as possible?

Scott Elwood
Owner

Sorry for the delay man, I am releasing version 2.0 tonight which I will extensively test in all major browsers.

Scott Elwood
Owner

2.0 is released, going to do IE testing tomorrow night

Scott Elwood
Owner

This has to do with the fact that jQuery Draggable doesnt like it when you use insertBefore on a container while dragging and in IE8. This is pretty core functionality so it may take me a bit to find a workaround.

Eirik H
eithe commented

+1

Hemant Gogia

No problem man i will wait for solution and thanx for your support

maskddingo

What I did to work around this (albeit in a hack-ish way) was to 'detect' ie8 with isIE8 = (jQuery.support.leadingWhitespace == false)&&(jQuery.support.boxSizing==true); but use your favorite method...

Then I use 'isIE8' to decide whether or not to call 'insertBefore' during the 'draggable' 'drag' or 'stop' callbacks. This keeps everything working on other browsers (even in ie7). If ie8 comes along now, the user just loses the neat animation reshuffle preview before they drop, but they can at least now drag items to new positions.

Like I said, this is a bit hackish, and it doesn't give full function to ie8... The real solution will be more involved, but at least this keeps the page from appearing to be broken in ie8.

Scott Elwood
Owner
McPants commented

Ah cool, yeah thats a decent hack for now.

After thinking about a finalized solution to this i really only concluded that it shouldn't physically change the index position of the element until you drop it. The animations when dragging around would have to be a faked ordering system instead of relying on the constantly changing index.

Unfortunately this is looking more and more like a 3.0 feature instead of 2.x., but that is a good hack and if you can give me a link to your forked version I would be happy to link to it in the Readme in case anyone really needs it for IE8.

Eirik H
eithe commented

@maskddingo Any chance you could fork/provide your full workaround?

maskddingo
Eirik H
eithe commented

Thank you, @maskddingo, works as expected.

Scott Elwood McPants referenced this issue
Open

3.0 Todo #58

5 of 17 tasks complete
Youry

Hi guys,

I tried to use the fix for the ie8 on this page but still not working, when I drag an element the rest of elements don't arrange automatic.

Daniel Mierzwinski dnlmzw referenced this issue in ducksboard/gridster.js
Open

IE 7/8 - preview does not work #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.