Live data from Hacker News

Interact.js – drag and drop, resizing and multi-touch gestures

github.com

31–37 of 37 posts

Re: Interact.js – drag and drop, resizing and multi-touch gestures

#32
post #28

The first example on http://interactjs.io/ is buggy in Windows/Chrome. When I drag, it leaves a trail of the right edge of the object; reminiscent of a crashing Windows 98.

That's due to hardware acceleration so really Chrome is buggy. I don't really know what to do about that.

Re: Interact.js – drag and drop, resizing and multi-touch gestures

#33
post #2

The components are usable and the abstractions seems good. Since I discovered famo.us ( http://famo.us ) earlier this year I have preferred to do use it for javascript UX code to ensure scrolling and animations run smoothly. I would love to have interact.js rewritten as an extensions to famo.us. Famo.us runs smooth, but lacks good examples, tools and extensions.

I've never liked famo.us and never bothered to look into it so a rewrite for it won't happen (at least not by me). I'd like to think that if famo.us is any good then something like interact.js should be able to work with it without heavy modification or with a thin layer on top, but maybe I'm thinking too highly of my own work :-P.

Re: Interact.js – drag and drop, resizing and multi-touch gestures

#35
post #23

Great job. It seems like a subset of jquery functionality? Is there something that interact.js does that jquery doesn't? Or is it just a size thing...

Thank you. I wouldn't call it a subset and I didn't make it as an alternative to jQuery UI. However, I do have plans to make one ;-). I think that the advantage is in what interact.js doesn't do. It's more about providing the data that applications need for responding to pointer input however they like - Drag and drop is just one way to use the input data. I wrote about the ideas behind it on the Mozilla Hacks blog r…

Got it. Really nicely done.
Post reply on HN