-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Dragging and resizing is not working on IE11 #29
Comments
I wonder if this can be solved with |
That is a good point. Could you forward this on as a react-draggable issue? |
@STRML do you know if the react-draggable issue was ever submitted? I saw you submitted react-grid-layout/react-draggable#33 but I wasn't sure if that was supposed to fix the ie11 issue or something else. |
This still seems to be a problem on 0.9.1 and master Any progress? |
Awesome! will check it out later today. Very appreciated. |
Having some issues with the upgrade due to other changes in react-draggable. Working on it. |
Hi @STRML, at the risk of being deeply annoying, I was wondering if you have a feel for how difficult it will be to solve the IE11 issue? RGL is really good - much better than any of the other Packery style offerings (including Packery itself). |
@jgwconsulting I've definitely dropped the ball on this - work is about 80% done but I have to work out some compatibility bugs. My day job has taken up all of my time lately. I want to use RGL in production (that's what I built this for) so the next release (0.11) is a priority. Hoping to bang it out within the next week. |
I'm amazed you have time to create this as well as holding down a day job, sleeping and stuff like that :) Great news that you're nearly there. I'll swap out Packery for RGL in a heartbeat in a dashboard app I'm working on so you have my sincere gratitude! |
Thanks - yeah, issue is that I've been between traveling and presentations as well - so life has been a whirlwind the last few months. My day job is bitmex.com so it's eventually going to make it into that app. I've definitely been slacking on this and I want it to hit production so it'll move forward shortly. |
Yes, I saw your screenshot of Bitmex - that's a nice looking dashboard. It I work for part of Avid (they do video, audio, broadcast related stuff), Anyway, don't kill yourself getting it fixed!
|
@STRML @alanrubin I'd like to update you that the Modernizr test for detecting define(['Modernizr', 'prefixes', 'testStyles'], function(Modernizr, prefixes, testStyles) {
// Chrome (desktop) used to lie about its support on this, but that has since been rectified: http://crbug.com/36415
Modernizr.addTest('touchevents', function() {
var bool;
if (('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch) {
bool = true;
} else {
var query = ['@media (', prefixes.join('touch-enabled),('), 'heartz', ')', '{#modernizr{top:9px;position:absolute}}'].join('');
testStyles(query, function(node) {
bool = node.offsetTop === 9;
});
}
return bool;
});
}); |
Any updates on this? Tried building 0.9.2, but still no go in IE11 it seems. |
@STRML d'you have a branch or work in progress fix for this that someone else could pick up and complete? You mentioned that it's 80% done, can we help with the extra 20% and get this working in IE? |
This is fixed in |
awesome! |
First thanks for the great library !
Currently dragging and resizing is not working in M$ IE11 (running on a Windows 7 VM). You can easily reproduce by trying to run the showcase demo in IE11 - https://strml.github.io/react-grid-layout/examples/0-showcase.html .
The problem seems to rely on react-draggable component and the way it detects if the device is a touch one. We found that by modifying draggable.js file (/node_modules/react-grid-layout/node_modules/react-draggable/lib/draggable.js) so that isTouchDevice is always false solve the problem.
So instead of having:
we do
the problem is fixed.
This seems to be a problem with touch detection in IE11 and probably must be fixed in react-draggable but just want to make sure people are aware of the problem and temporary solution. I will try to investigate the best solution and open an issue for react-draggable.
The text was updated successfully, but these errors were encountered: