Commit graph

285 commits

Author SHA1 Message Date
Pavel Reznikov
8314837213 build js 2016-02-10 18:53:00 -08:00
Pavel Reznikov
6017f346f8 Merge pull request #200 from derekm/fix-out-of-order-events
fix ordering of draggable and resizable event callbacks
2016-02-10 18:52:37 -08:00
Pavel Reznikov
7a76830272 small fixes 2016-02-10 18:45:59 -08:00
Pavel Reznikov
8410c3babf add doctoc to grunt 2016-02-10 18:45:47 -08:00
Pavel Reznikov
9bb409fdee gruntfile indents 2016-02-10 18:32:04 -08:00
Pavel Reznikov
3fb6c55334 Merge branch 'jlowcs-gruntfile' 2016-02-10 18:30:02 -08:00
Pavel Reznikov
4dae65aa46 merge PR #283 2016-02-10 18:29:49 -08:00
Pavel Reznikov
f1e9723484 readme 2016-02-10 17:33:35 -08:00
Pavel Reznikov
652979a3f8 slack 2016-02-09 23:46:33 -08:00
Pavel Reznikov
b32b3f251f fix #276 2016-02-08 22:58:10 -08:00
Pavel Reznikov
195fa60ecb build dist 2016-02-08 22:44:41 -08:00
Pavel Reznikov
81e6351586 update README 2016-02-08 22:43:46 -08:00
Pavel Reznikov
64aa4734cc copy 2016-02-08 22:43:35 -08:00
Pavel Reznikov
7c7fd5ae0a Merge pull request #271 from mmrose/master
Adding enable and disable events
2016-02-08 22:39:55 -08:00
Pavel Reznikov
9237ae7fb7 Merge pull request #275 from zspitzer/master
toggle ui-draggable-handle class with draggable
2016-02-08 22:38:54 -08:00
Pavel Reznikov
48e96cd746 Merge pull request #245 from boreal-is/master
Fix for #63
2016-02-08 22:35:41 -08:00
Pavel Reznikov
7c8c08e101 Merge pull request #309 from andrewr88/master
Fixes for Lodash v4.0 breaking changes
2016-02-08 22:33:55 -08:00
Pavel Reznikov
83ac5af45f Merge pull request #310 from crazydrecksack/master
[BUGFIX] offset problems for dragging and scaling with a lot of columns
2016-02-08 22:32:43 -08:00
Derek Moore
1fe90ee79b trigger resizestart on items for when nested grids are resized 2016-01-28 15:21:18 -06:00
Derek Moore
61a129e77c add event_stop_propagate to change event on gridstack objects 2016-01-28 14:17:21 -06:00
Florian Heinze
9c644eef98 [BUGFIX] offset problems for dragging and scaling with a lot of columns
When using a a lot of columns, e.g. more than 40
then the dashed box showing the next placement would
behave strangely compared to the box I am currently
dragging. This behavior increases while dragging
the box to the right side.

When scaling a box on the right side, the box would
jump one column to the left, which would then move around
all the boxes that I have already placed.

This behavior seems to be related to a rounding problem.
2016-01-25 14:08:18 +01:00
Andy Robbins
bce1eeaf06 fix calls for lodash v4.0 2016-01-15 13:46:23 -05:00
Jerome Louis
4471b9e385 New dist files generated using gruntfile 2015-11-18 16:48:43 +01:00
Jerome Louis
9bba3fbb18 generated CSS files should only be in dist folder 2015-11-18 16:48:27 +01:00
Jerome Louis
71e2f3da86 Add Gruntfile for dist generation 2015-11-18 16:47:37 +01:00
Zac Spitzer
912662bbbb toggle ui-draggable-handle class with draggable
On touch devices, it's not possible to scroll a page by dragging on an item even when draggable is
disabled due to the **ui-draggable-handle** class which is added to the **grid-stack-item-content**

JQuery-UI Draggable doesn't remove this class when it's disabled, so it prevents touch scrolling the page on the item

```
<div class="grid-stack-item-content ui-draggable-handle">

.ui-draggable-handle {
    -ms-touch-action: none;
    touch-action: none;
}
```
2015-11-06 13:48:11 +11:00
Martin Mrose
8c5ab67796 Updated readme 2015-11-03 00:20:47 +01:00
Martin Mrose
816071a077 Triggering enable and disable events on gridstack container 2015-11-03 00:14:57 +01:00
Pavel Reznikov
fc571d8b82 typo 2015-10-15 18:41:08 -07:00
Pavel Reznikov
922cc30ea7 Merge pull request #247 from parano/command-js-fix
Support for commonJS
2015-10-13 16:07:12 -07:00
Chaoyu
3be2105a93 try load lodash, otherwise use global _ 2015-10-09 15:22:00 -07:00
Chaoyu
b7c7b3b8f3 fix 2015-10-09 15:10:22 -07:00
Chaoyu
5472f95252 common js suport 2015-10-09 14:46:12 -07:00
cvillemure
c2b1dee5fa Merge pull request #2 from troolee/master
Update from troolee
2015-10-08 15:06:23 -04:00
cvillemure
77159bfbe1 Fix for #63
Fix IE9 SE handle for #63
2015-10-08 14:55:24 -04:00
Pavel Reznikov
7cc527149b Merge pull request #241 from timwis/master
Add main property to package.json to enable use via require()
2015-10-07 10:34:25 -07:00
timwis
fbe4113ea8 Add main property to package.json 2015-10-05 21:17:33 -04:00
Pavel Reznikov
b00114d5bc fix handle option 2015-09-21 20:13:05 -07:00
Pavel Reznikov
847a54c492 Make sure not to include placeholders when calling prepare element. 2015-09-09 18:21:36 -07:00
Pavel Reznikov
79f509c6e6 add handle_class option 2015-09-09 18:20:06 -07:00
Pavel Reznikov
91e9d6fb77 improved readability 2015-09-09 18:16:26 -07:00
Matt
bbf1644f3f improved readability
optional argument notation
2015-08-22 09:42:13 +02:00
Pavel Reznikov
54e8e60c28 Merge pull request #211 from randoum/patch-1
Rails gem link
2015-08-19 15:26:59 -07:00
randoum
d317455ba2 Rails gem link 2015-08-15 07:21:48 +02:00
Derek Moore
798c5c429f broadcast resizestop to nested grids "all the way down" 2015-08-12 13:58:49 -05:00
Derek Moore
1b3a0cbf89 format code to match prevalent coding style 2015-08-12 13:45:37 -05:00
Derek Moore
8848249035 broadcast resizestop events to nested grids 2015-08-12 13:45:37 -05:00
Derek Moore
9442e3cd7e stop event propagation at the grid instead of at grid items 2015-08-12 10:20:39 -05:00
Derek Moore
69d2df188d stop propagation of events so nested grids don't affect parents 2015-08-07 16:36:59 -05:00
Derek Moore
4a80e41811 fix ordering of draggable and resizable event callbacks 2015-08-06 17:55:28 -05:00