-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't work in IE7/8/9 #261
Comments
If you could include any repro steps or details about the bug that'd be great. |
Here's complete HTML.
It works in IE Edge or IE 10, but it won't work in IE7/8/9, there is no response as if it isn't loaded at all. |
Do you see any errors on the console? There's no need to use |
See #248 |
I've also been trying to get this to work in IE9 and there seems to be a problem detecting the mouse button during I wish I new more about the intricacies of mouse events in different browsers but what I have found is if I drop the following code in jsFiddle:
Then I can see in Chrome the button state is detected during Does this help analyse the problem further> |
Please create a separate issue |
Nothing appears in console. I tried it again without using |
Bonjour! Thanks to @philiphendry, I fixed this issue by steps like below: 1. Use es5-shim.js to polyfill methods in IE.2. Change line 28:
to
It seems that es5-shim.js doesn't polyfill If you don't polyfill this method, dragula.js won't work in IE7/8. 3. Change line 548 - 549:
to:
I used I've tested the HTML I posted before, and it works well in Chrome, Firefox, Opera, IE7/8/9. I have IE9 installed in my computer, and I tested in IE7/8 in emulation mode. I just tested simple actions like drag and drop, I didn't test further APIs provided by dragula, so I don't know if this brings in any unexpected side effects. |
Great.
Once we sort out the |
Sorry about I made a mistake that I used If you use |
@artem-azarov can you confirm the flip is enough without adding |
@bevacqua yes, this fix has solved described issue. Works good in IE9/Chrome/FF |
Fixed in |
I only tested it in IE7/8/9, it works well in Chrome/Firefox.
Since I had applied es5-shim.js to polyfill functional Array methods, it didn't throw any error anymore but still didn't work.
Is this a bug or I missed something? Help me please, thanks!
The text was updated successfully, but these errors were encountered: