Skip to content

Commit 993aeef

Browse files
committed
doc update
1 parent 6dcbac2 commit 993aeef

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

doc/CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,13 @@ Change log
5858

5959
- fix [#1700](https://github.com/gridstack/gridstack.js/issues/1700) JQ nested grid drag fix broken in 4.0.3 (but much older underlying issue)
6060
- fix [#1678](https://github.com/gridstack/gridstack.js/issues/1678) item gs-x:0 not animating fix
61+
- fix [#1678](https://github.com/gridstack/gridstack.js/pull/1678) resize-scroll issue when grid is not at top of page. Thanks [@Manfred-on-github](https://github.com/Manfred-on-github)
6162

6263
## 4.2.0 (2021-4-11)
6364

6465
- fix [#1704](https://github.com/gridstack/gridstack.js/issues/1704) scrollbar fix broken in 4.x
6566
- fix [#1655](https://github.com/gridstack/gridstack.js/issues/1655) `addWidget()` while in 1 column now remembers original wanted width
66-
- add [#1682](https://github.com/gridstack/gridstack.js/issues/1682) `addWidget()` now supports nested grids like init/addGrid() does.
67+
- add [#1727](https://github.com/gridstack/gridstack.js/issues/1727) `addWidget()` now supports nested grids like init/addGrid() does.
6768

6869
## 4.1.0 (2021-4-7)
6970

spec/e2e/html/1727_resize_scroll_top.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
flex-grow: 1;
1919
}
2020
.row {
21-
display:flex;
22-
width: 100%;
21+
display:flex;
22+
width: 100%;
2323
}
2424
.showDistance {
25-
border-top-width: 130px;
26-
border-bottom-width: 130px;
27-
border-color: gray;
28-
border-style: solid;
29-
height: 600px;
30-
width: 50px;
31-
box-sizing: border-box;
25+
border-top-width: 130px;
26+
border-bottom-width: 130px;
27+
border-color: gray;
28+
border-style: solid;
29+
height: 600px;
30+
width: 50px;
31+
box-sizing: border-box;
3232
}
3333
</style>
3434

@@ -38,18 +38,18 @@
3838
<div class="row">
3939
<div class="showDistance"></div>
4040
<div class="willScroll">
41-
<div class="grid-stack"></div>
42-
</div>
41+
<div class="grid-stack"></div>
42+
</div>
4343
</div>
4444

4545
<script type="text/javascript">
4646
let grid = GridStack.init({cellHeight: 130});
4747
let items = [
48-
{x: 0, y: 0, w: 2, h: 2, content: "resize-me - check scrolling starts only when in height of gray area, and you can scroll back up as well."},
49-
{x: 3, y: 0, w: 2, h: 2, content: "this is here to have next item positioned way down"},
50-
{x: 3, y: 2, w: 3, h: 2, content: "resize me - scroll will start immediately, but should not be extremely fast"},
51-
{x: 6, y: 0, w: 2, h: 8, content: "this is here to have a scroll bar from the beginning"},
52-
];
48+
{x: 0, y: 0, w: 2, h: 2, content: "resize-me - check scrolling starts only when in height of gray area, and you can scroll back up as well."},
49+
{x: 3, y: 0, w: 2, h: 2, content: "this is here to have next item positioned way down"},
50+
{x: 3, y: 2, w: 3, h: 2, content: "resize me - scroll will start immediately, but should not be extremely fast"},
51+
{x: 6, y: 0, w: 2, h: 8, content: "this is here to have a scroll bar from the beginning"},
52+
];
5353
grid.load(items);
5454
</script>
5555
</body>

0 commit comments

Comments
 (0)