BTMorton / angular2-grid

A drag/drop/resize grid-based plugin directive for angular2
https://bmorton.co.uk/angular/
MIT License
354 stars 159 forks source link

Placement of items/resizing/moving not working in grid after migrating to Angular 6 #299

Open naman1901 opened 5 years ago

naman1901 commented 5 years ago

Hi, I have an application that uses angular2-grid to display widgets on a dashboard. Recently we moved from Angular 4 to 6, and now the grid has (it seems) stopped honouring the starting positions of the widgets, all of which seem to be moved to (0,0). Resizing and moving widgets around doesn't work either.

image Expected Behaviour (from Angular 4) This is how the widgets are supposed to be organized on the grid (each black box is a widget, hiding content for confidentiality)

image Observed Behaviour (from Angular 6) This is the observed behaviour. Notice how the widgets are overlapping.

This was working fine with Angular 4.

BTMorton commented 5 years ago

Just published v3.0.0 with angular 6 support. Give that a go

naman1901 commented 5 years ago

It looks like I am missing something with the config. 2.0.2 works fine even with Angular 6 for me. 2.3.1 and now 3.0.0 give me overlaps.