Skip to content

Releases

v14.1.1

Choose a tag to compare

@adumesny adumesny released this 17 Nov 00:50
b153b53
  • feat: #3463 drop target goes by the grabbed handle (min 10%) rather than the whole widget, so widgets dragged by a header follow the mouse more closely
  • feat: a hidden (collapsed) sub-grid works like a folder: the widget goes in (as its first widget) from its middle, and beside it near its edges, so you can insert between collapsed ones
  • fix: ui-droppable-over class is now removed when the widget leaves or drops
  • fix: #3198 a widget taller (or wider) than a sub-grid can now be dropped into it
  • fix: #3459 React/Vue wrappers: a change event fired mid drag/resize no longer unmounts the item's content (state lost) - thank you nguoimegame
  • fix: #3447 Dragging upwards does not always work - thank you Gavin

v14.1.0

Choose a tag to compare

@adumesny adumesny released this 04 Nov 23:41
f0dd1dc
  • feat: #3451, #3452 dragging between grids now goes by how much of the item is over a grid (like jquery-ui's intersect before v6) rather than where the cursor is. Also make it possible to insert above a nested grid even when parent grid overlapps exactly.
  • feat: #3356 auto-scroll triggers off the cursor nearing an edge (not just widget being clipped)
  • fix: #3355 auto-scroll hands off to the outer container when a nested scroll container is pinned
  • fix: #2729 cancel selector now matches elements inside a shadow root
  • fix: #2728 drag helper drifts off the cursor when the page scrolls under a CSS-transformed containing block
  • fix: #1959 update() refuses a move that would land on a locked item
  • fix: #2666 iOS auto-scroll uses visualViewport, and un-bind touch handlers
  • fix: #3418 preserve saved layout after cancelling a cross-grid drag- #3418 - thank you sameerdeolalikar
  • fix: #2819 item not moved (to alt position) when colliding fails with an object
  • fix: #3230 don't recompute w/h unless side can change (rounding errors)
  • fix: #2208 cellHeight in vw/vh units converts straight to pixels drift issue
  • fix: #3438 fix mode?: 'list' | 'compact' for h:2 and taller items (for #754)
  • fix: #3443 Esc restores item (and pushed nodes) dragged out of its grid. Thank you @SinnerAir

v14.0.0

Choose a tag to compare

@adumesny adumesny released this 21 Sep 06:35
3f0469d

2 BIG changes - new mode?: 'top' | 'float' | 'list' | 'compact' replacing old float:boolean, and cellHeight:'fill' to make rows take entire fixed size grid.

  • feat: #754, #2866 new mode?: 'top' | 'float' | 'list' | 'compact' - items are continuously re-flowed in sequential (row-major) order, like a re-orderable list: dragging, resizing, adding or removing an item re-flows everyone else instead of pushing them down, and dropping an item on another takes its place. See new
    list.html demo.
  • feat: #2583, #787 new cellHeight: 'fill' - rows divide the container height. See new 'fill' option
    cell-height.html demo.
  • feat: #2627, #2761 emit dragstart/drag/dragstop on sidebar drag-in items
  • fix: #3012, #3179 prevent crash when calling update() during change event
  • fix: #3226 don't reveal other widgets' resize handles during a resize - thank you dvd233
  • fix: #3148 find drag handles inside open shadow roots. See
    title_drag.html.
  • fix: #3188 release the global touch latch when a widget is destroyed mid-touch
  • fix: #2953 API update() honors maxRow like dragging does
  • fix: #2976 (react, vue): render a drag-in widget that has a component but no id
  • fix: #2703 allow dragging from elements nested inside a button/input handle
  • fix: #2974 (react, vue): re-render item content after an interactive drag/resize

v13.3.0

Choose a tag to compare

@adumesny adumesny released this 11 Sep 17:35
4c1a30d
  • feat: #2781 #2781 mobile: pause to drag/reszie vs scroll behavior
  • feat: #3383 added PrintOptions.breakInside and .gs-print-avoid-break-after so section (nested grids) and tables can fragment across pages
  • fix: #3374 Iframe: use moveBefore() instead of appendChild() in _sortDom() so reordering doesn't reload iframes
  • fix: #934 disable pointer events on iframes while dragging/resizing so fast mouse moves aren't swallowed by the iframe's own document
  • fix: #3371 (vue, react): item content vanished after dragging between 2 grids with acceptWidgets

v13.2.0

Choose a tag to compare

@adumesny adumesny released this 20 Aug 01:42
26a49d6
  • feat: #701 removed printMode as we support much better printing now that doesn't compromise.
  • feat: #3362 added PrintOptions.mode for app custom settings
  • fix: #3357 (react): drop type assertions on useGridStack add/remove helpers - thank you YOUNGHO8762
  • fix: #3358 (react): use wrapper widget types in registry callbacks - thank you YOUNGHO8762
  • fix: #3360 better north and west resize handles - thank you Ryan Peterson

v13.1.2

Choose a tag to compare

@adumesny adumesny released this 26 Jul 14:31
edb5f45
  • reg: #3340 regression: strict mode (v13.0.0) fails columnWidth without .breakpoints - thank you Daniel Cohen Gindi

v13.1.1

Choose a tag to compare

@adumesny adumesny released this 26 Jul 06:21
c7e3bef
  • feat: #3336 printMode?: 'flow' | 'exact' to support 2 very differenrt options due to browser bug. uddated demos to showcase one vs the other (and mode toggle)

v13.1.0

Choose a tag to compare

@adumesny adumesny released this 23 Jul 02:02
c07b891
  • feat: #701 major printing support for grids using PrintOptions (pageBreak, hide, orientation, ...)
  • feat: #3329 DOM matches the visual order when widgets are moved around (accessibility tabbing, regular printing)

v13.0.1

Choose a tag to compare

@adumesny adumesny released this 22 Jul 16:02
  • fix: #3325 preinstall script
  • fix: #3324 vue files missing from package

v13.0.0

Choose a tag to compare

@adumesny adumesny released this 19 Jul 15:03
14e50db
  • NEW: React wrapper: re-did to follow the Angular pattern (drag&Drop between grid doesn't destroy content), events, lazyLoad support, fix memory leak, empty content, etc...
  • NEW: Vue wrapper: brand new wrapper follow same pattern as well
  • break: #3310 Angular wrapper using component+props (instead of selector+input)
  • feat: #662 added grid-lines.html demo (just CSS)
  • fix: #3154 Esc key doesn't restore subgrid
  • fix: #3231 drag broken in Firefox 147.0.4+ and Chrome 144+ due to navigator.maxTouchPoints > 0 now returning true on desktop (macOS trackpad)
  • fix: #3291 flicker nested grid demo when dragging between sub-grids
  • fix: #3085 Changing rows after init relays out if smaller
  • fix: #2823 Scrollbar appears prevents onChange being called
  • fix: #2948 dynamically created nested grid disappeared when dragging out
  • fix: #3269 cleanup old rtl residue - thank you Daniel Cohen Gindi
  • fix: #3270 dragging item from outside doesn't allow swap (weird change is layout especially when you move out as it doesn't restore)
  • fix: #2950 Angular: now support signal inputs (ng14.1+) like name = input<string>()