Skip to content

Commit b00428c

Browse files
committed
static items bugfixes and improvements, preparation for 2.3.4 release
1 parent 5c78d60 commit b00428c

21 files changed

+13061
-25020
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 2.3.4 (UNRELEASED)
4+
5+
* Support for static items (thanks [panjiangyi](https://github.com/panjiangyi)).
6+
* RTL bugfix (thanks [irvingwa](https://github.com/irvingwa)).
7+
* Memory leak fixes (thanks [aiankile](https://github.com/aiankile)).
8+
* Fixed exception on grid layout mount (thanks [BenoitZugmeyer](https://github.com/BenoitZugmeyer)).
9+
* Fixed overlapping and resizing bugs on responsive mode (thanks [shpfive](https://github.com/shpfive)).
10+
311
## 2.3.3 (Dec 26, 2018)
412

513
* Reverted adding vue as external, which caused problems loading umd.
@@ -100,4 +108,4 @@
100108
## 2.1.0 (Fev 6, 2017)
101109

102110
* RTL support (thanks [easteregg](https://github.com/easteregg))
103-
* Move and resize events (thanks [ThePlastic](https://github.com/ThePlastic))
111+
* Move and resize events (thanks [ThePlastic](https://github.com/ThePlastic))

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Also check https://cli.vuejs.org/guide/build-targets.html#library
4646

4747
* Draggable widgets
4848
* Resizable widgets
49+
* Static widgets
4950
* Bounds checking for dragging and resizing
5051
* Widgets may be added or removed without rebuilding grid
5152
* Layout can be serialized and restored
@@ -106,7 +107,7 @@ Include the browser-ready bundle (download from [releases](https://github.com/jb
106107
{"x":0,"y":5,"w":2,"h":5,"i":"6"},
107108
{"x":2,"y":5,"w":2,"h":5,"i":"7"},
108109
{"x":4,"y":5,"w":2,"h":5,"i":"8"},
109-
{"x":6,"y":4,"w":2,"h":4,"i":"9"},
110+
{"x":6,"y":3,"w":2,"h":4,"i":"9"},
110111
{"x":8,"y":4,"w":2,"h":4,"i":"10"},
111112
{"x":10,"y":4,"w":2,"h":4,"i":"11"},
112113
{"x":0,"y":10,"w":2,"h":5,"i":"12"},
@@ -383,6 +384,15 @@ Include the browser-ready bundle (download from [releases](https://github.com/jb
383384

384385
If default value is `null` then it's inherited from parent.
385386

387+
* **static**
388+
389+
* type: `Boolean`
390+
* required: `false`
391+
* default: `false`
392+
393+
Says if item is static (won't be draggable, resizable or moved by other items).
394+
395+
386396
* **dragIgnoreFrom**
387397

388398
* type: `String`
@@ -540,5 +550,5 @@ If you have a feature request, please add it as an issue or make a pull request.
540550
- [x] Responsive
541551
- [x] Draggable grid items
542552
- [x] Resizable grid items
543-
- [ ] Static elements
553+
- [x] Static elements
544554
- [x] Min/max w/h per item

dist/js/app.ba023a5a.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

dist/js/app.ba023a5a.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/js/chunk-vendors.ea17aa36.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

dist/js/chunk-vendors.ea17aa36.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)