-
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 not working #16
Comments
Hi @zoomclub, the dragging is working fine for me on Chrome 41 on OS X. Could you please check for errors in your console? |
That's strange. Are you running the example locally (cloned repo and opening via file:// url) or just viewing the demo at https://strml.github.io/react-grid-layout/examples/1-basic.html ? |
I've just repushed the |
Cool, thanks, that's much better. I'll see what I can do. It appears to be a bug in our dependency |
@zoomclub Could you retry and verify this is fixed? |
Dragging a complete box/div does not work on the laptop and gives no error, while it drags nicely on the iPad. When dragging on the corner resize icon it still gives an error on the laptop, I've included the error message below in case it involves other dependables. Is the demo/API only meant for the mobile touch devices or can I also drag on the laptop in the usual point, click and drag way? It would be most excellent if PointerEvents were embraced by all browsers already, its basically something that should of happened last year, meanwhile they are still putting up a fuss about it, at least Google is :) |
I've run the demo on my machine (Chrome 41 OS X) both in normal and touch-screen emulation mode and both are working. It's intended that demo works both in touch and non-touch environments. I've just pushed an update to the demo - the reason you were seeing the error on the resizable handle was because both RGL & react-resizable depend on react-draggable, and when I built the bundle I forgot to update react-resizable's dep. It should work for you now in all envs. |
Just cleared cached files and images and restarted Chrome then tried again. Chrome extension settings are in developer mode but I presently have none of the extensions enabled. After several tries it looks like the dragging of items does not work for me in Chrome. However, it does work in Safari. Whats up with Chrome? |
No idea, it is working for me in v41.
|
Dragging and resizing works fine in Chrome Canary too but still not in the standard Chrome browser. Likely not but would any special Chrome flags need to be set? |
You might have some weird emulation setting on. Chrome shouldn't be
|
Instead of pecking through all Chrome flags I just reset all of them to default. It then works in standard Chrome. Who knows what the specific flag was, I had set a few for WebGL related projects. Thanks for the help and I'll look further into react-grid-layout next :) |
Okay great. Glad you got it working. |
… event isn't thrown. This was causing react-grid-layout/react-grid-layout#16 (comment)
I have a laptop with touch screen and I'm using react-grid-layout 0.8.5, I could use my finger to drag & drop, but I can't use my mouse to drag & drop, is there any way to work around with this? |
… event isn't thrown. This was causing react-grid-layout/react-grid-layout#16 (comment)
… event isn't thrown. This was causing react-grid-layout/react-grid-layout#16 (comment)
… event isn't thrown. This was causing react-grid-layout/react-grid-layout#16 (comment)
Looks like another great React library! However, in the latest Chrome on OS X the dragging is not working, any idea why? If I try Packery or Gridster the dragging of items works as expected :)
The text was updated successfully, but these errors were encountered: