angular2gridster icon indicating copy to clipboard operation
angular2gridster copied to clipboard

Grid is modifying last saved configuration.

Open dipankar-datta opened this issue 6 years ago • 3 comments

Hi Swiety

I have grid of four lanes. If I add one widget with width 1 on the right most top, and then reload the page, the widget moves to left most top.

Is this behavior expected ?

Following is my gridster options:

const grisOptions: IGridsterOptions = {
      lanes: 4, // how many lines (grid cells) dashboard has

      direction: 'vertical', // items floating direction: vertical/horizontal

      floating: true,

      dragAndDrop: true, // possible to change items position by drag n drop

      resizable: true, // possible to resize items by drag n drop by item edge/corner

      useCSSTransforms: true, // improves rendering performance by using CSS transform in place of left/top

      responsiveSizes: true,

      shrink: true,

      cellHeight: 375,

      responsiveView: true,

      responsiveOptions: [
          {
              breakpoint: 'sm',
              lanes: 2
          },
          {
              breakpoint: 'md',
              lanes: 4,
              dragAndDrop: true,
              resizable: true
          },
          {
              breakpoint: 'lg',
              lanes: 4,
              dragAndDrop: true,
              resizable: true
          },
          {
              breakpoint: 'xl',
              lanes: 4,
              dragAndDrop: true,
              resizable: true
          }
      ]
  };

dipankar-datta avatar Jul 27 '18 10:07 dipankar-datta

Hi, which angular2gridster version do you use?

swiety85 avatar Jul 27 '18 12:07 swiety85

5.0.2

dipankar-datta avatar Jul 27 '18 14:07 dipankar-datta

Hi Damian, is there any update for me ?

dipankar-datta avatar Aug 01 '18 11:08 dipankar-datta