Commit Graph

57 Commits

Author SHA1 Message Date
Scott González
247c29ee93 Draggable, Droppable: Updated dependencies. 2012-01-07 12:20:49 -05:00
Scott González
b7a0c6a4cf Draggable: Cleanup. 2012-01-07 12:18:08 -05:00
Dave Stein
5d029ffab0 Draggable: Removed scrollSpeed/Sensitivity options. Consolidated scrolling code for different scrollParents 2011-11-27 18:32:34 -05:00
Dave Stein
da1b946e66 Droppable: Answered TODO comment about Math.round 2011-11-27 17:55:04 -05:00
Dave Stein
2799b4a67f Draggable: Replaced .offset() with math. Added TODO about absolute elements within relative container 2011-11-27 17:27:55 -05:00
Dave Stein
c0c1a1d16c Draggable: Replaced todo with actual comment in regards to CSS. 2011-11-27 17:09:50 -05:00
Scott González
a28fb9f98f Merge branch 'master' into interactions
Conflicts:
	ui/jquery.ui.draggable.js
	ui/jquery.ui.droppable.js
2011-11-23 12:33:44 -05:00
Scott González
dbaa744f0c Interaction: Initial implementation for base interaction plugin. 2011-11-23 12:03:09 -05:00
Scott González
51e1d576f6 Draggable: Cleanup. 2011-11-23 09:03:02 -05:00
Scott González
4792d5b7af Draggable: Cleanup. 2011-11-17 19:48:04 -05:00
Dave Stein
38c06026a1 Draggable: Fixed offset calculation. Offset now passed back in uiHash. 2011-11-13 17:14:19 -05:00
Dave Stein
1ca93b4a6c Draggable: Added in iframeFix option 2011-11-06 17:42:35 -05:00
Dave Stein
7941f7c13f Draggable: Redid f7ec502992 after bad merge. 2011-11-06 16:39:17 -05:00
Dave Stein
536a11893a Draggable: Removed answered TODO 2011-11-06 16:31:09 -05:00
Dave Stein
ec9c1cf6f4 Draggable: Proper use of ._trigger for detecting preventDefault. _uiHash now returns position and helper - removed offset. 2011-11-06 16:20:56 -05:00
=
1337573adc Squashed commit of the following:
Draggable:
 Fixed when cssPosition is being set.
 Scrolling handles non-doc overflow.
 _handleScrolling handles scrolling up and left now
 Made window, doc, and window part of base widget
 All parts of drag may be stopped via stopPropagation
 User can now override position of draggable on start, drag, and stop
 Whitespace fix
 Moved overflowWidth and overflowHeight into overflow.width and overflow.height
2011-10-25 21:54:03 -04:00
Marwan Al Jubeh
c3c8400289 Core, Draggable: Fixed #7800 - Draggable helper="clone" doesn't remove the dragged clone if original element is removed upon drop 2011-10-17 19:14:54 +03:00
Scott González
a0946d0364 Draggable: Remove all ids when using helper: true. 2011-10-17 08:26:12 -04:00
Scott González
c4df28939c Draggable: Use ._bind(). 2011-10-14 15:03:10 -04:00
Scott González
ee094ccf4d Draggable: Cleanup. 2011-10-14 14:29:03 -04:00
=
c8e13708eb Draggable: Scrollbars being handled when scrollParent is document 2011-10-09 00:54:47 -04:00
=
e43ce91212 Draggable: No longer overwriting _trigger 2011-10-08 23:34:26 -04:00
=
7745d61a24 Draggable: No longer using disableSelection in favor of preventDefault 2011-10-08 23:30:03 -04:00
=
7ef6df95eb Draggable: Helper option can now take function that returns DOMElement 2011-10-01 12:38:48 -04:00
=
1f23656fe2 Draggable: Fixed coding style, moved properties out of prototype 2011-10-01 12:05:36 -04:00
Scott González
d85c67dd96 whitespace 2011-09-27 22:02:07 -04:00
Dave Stein
cb828a52bd Draggable: Code style better matching style guideline 2011-09-27 21:33:38 -04:00
Dave Stein
05b1d23990 Draggable: Initial commit for new implementation, clone is only usable option 2011-09-27 21:10:59 -04:00
Scott González
6a5b21fda2 All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store version numbers on instances. 2011-05-28 15:39:55 -04:00
kborchers
67bd872fe1 Droppable: Added dragStart and dragStop to ddmanager and call them from draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo 2011-05-27 12:01:42 -05:00
Scott González
2adfc03efe Merge pull request #266 from kborchers/bug_4838
Draggable: Changed logic to only subtract left and top offsets of containment if left and top are not already 0. Fixed #4838 - containment: 'document' is incorrect for top and left in draggable
2011-05-13 12:35:18 -07:00
kborchers
d136e4333e Draggable: Check for grid elements set to 0 to prevent divide by 0 error causing invalid argument errors in IE. Fixed #6950 - ie 8 invalid drag and drop error 2011-05-13 10:23:44 -05:00
kborchers
6e6d0b749c Draggable: Changed logic to only subtract left and top offsets of containment if left and top are not already 0. Fixed #4838 - containment: 'document' is incorrect for top and left in draggable 2011-05-12 16:27:12 -05:00
Kato Kazuyoshi
98fcb477d6 Draggable: Remove id when cloning helpers. Fixes #4564 - Draggable+Sortable Demo duplicates DOM Ids. 2011-05-11 13:06:53 -04:00
Scott González
3d5d58d854 Merge pull request #187 from virgofx/master.
Fix #7270 - Draggable iFrameFix
2011-05-02 14:49:05 -07:00
Edward Faulkner
d620749611 Draggable: containment now updates dynamically to handle scrolling container. Fixed #4445 containment ignored when scrolling in overflow div 2011-04-28 10:43:02 -04:00
Mark Johnson
b1c8a13a16 Draggable: Modified the iframe shims to load prior to dragging. Fixed #7270. 2011-04-19 14:39:58 -07:00
Matt Hoskins
84257e7f0a Draggable: Calling .refreshPositions instead of ._refreshItems when dragging with a connected sortable to force containerCache initialisation/update. Fixed: #5563 - connectToSortable misbehaves if the position of the sortable changes after the sortable and draggable have been initialised as _refreshItems no longer updating container cache. 2011-03-14 06:53:00 -07:00
Guillaume Gautreau
3a0ec399cd Draggable: modify margins of the containment according to the margin of the draggable element. Fixed #7084 - Draggable with parent containment and margin 2011-03-08 09:32:48 -05:00
Scott González
6e0482a9cb Updated copyright year. 2011-01-17 09:13:18 -05:00
Scott González
9681b1fd7e All: Replaced all uses of $.ui.contains() with $.contains(). Fixes #5000 - Deprecate $.ui.contains. 2010-12-10 15:13:10 -05:00
Jean-Francois Remy
e01664a382 Draggable: Handle scrolled windows. Fixes #6181 - Draggable: issue with containment on position:fixed elements. 2010-12-01 15:31:59 -05:00
Scott González
8a5d4ca321 All: Added http://jqueryui.com/about to header comments. 2010-07-14 15:45:45 -04:00
Scott González
21aad10e6a All: Define a local undefined variable inside the main closure. 2010-07-13 09:57:58 -04:00
Scott González
536ae6189b Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license. 2010-07-09 09:01:04 -04:00
Richard D. Worth
670ab819a9 Revert "Draggable: Don't use computed style for top and left of position:relative elements. Fixes #5537 - Draggable: position relative draggable jumps on first drag in Opera"
This reverts commit dc94bbf536.
2010-04-23 16:13:06 -04:00
Richard D. Worth
dc94bbf536 Draggable: Don't use computed style for top and left of position:relative elements. Fixes #5537 - Draggable: position relative draggable jumps on first drag in Opera 2010-04-22 09:56:35 -04:00
Scott González
74120e0df1 Draggable: Don't try to stack if there are no elements in the stacking group.
Fixes #5191 - Draggable: stack option can throw error.
2010-02-18 04:46:59 +00:00
Scott González
f88677bfd6 Draggable: Don't recalculate the relative offset during drag. I couldn't reproduce the issues described in the comments for this code.
Fixes #4824 - draggable broken on inline elements in webkit browsers
2010-02-14 05:09:29 +00:00
Scott González
9e02f80176 Fixed event prefix in all plugins that don't use the default prefix.
Fixes #5134 - Events not being triggered for drag and drop.
2010-02-05 03:03:50 +00:00