bwu-dart / bwu_datagrid

A data-grid Polymer element in Dart
MIT License
74 stars 26 forks source link

The minLeft/maxLeft drag bounds might be to limiting #50

Closed zoechi closed 10 years ago

zoechi commented 10 years ago

the dragged element needs to be draggable to minLeft - (draggable.width / 2) - x and maxLeft + (draggable.width / 2) + x with x > = 1 when using intersection model (where it changes position when the m

zoechi commented 10 years ago

It is implemented that the position of the pointer matters and not the position of the dragged element so this isn't absolutely necessary. I implemented it with x = 0