4 ms·
Use a well tested library,even if it means extra load.The reason for this is DnD apis are a nightmare that will work on 90% of the devices and browsers but not
by aikah 12y ago
Use a well tested library,even if it means extra load.The reason for this is DnD apis are a nightmare that will work on 90% of the devices and browsers but not on the rest. Trust libraries that are well tested over a wide range of browsers.
> I'm about to add a dependency on jQuery and jQuery UI just to allow the use of their bulletproof Draggable and Droppable elements. Somehow that feels dirty.
What feels even more dirty is a UI that doesnt work properly across browsers.Better have a solid UI rather than thinking using jQuery == DIRTY.
- couchand 12y agoAs I said, we don't need to support anything other than Firefox and Chrome. It's an internal app, we know everyone's on modern versions. And as I mentioned in another comment, jQuery itself isn't dirty, but adding a dependency on a swiss army knife library for just one feature does seem dirty.