desandro / draggabilly

:point_down: Make that shiz draggable
https://draggabilly.desandro.com
MIT License
3.86k stars 387 forks source link

Relative units and snap to grid #104

Closed lmartins closed 8 years ago

lmartins commented 8 years ago

Is it possibile to have a flexible grid, where the grid units all have relative sizes (%, ems or view port units) and have them still snap to grid?

I've looked into https://github.com/desandro/draggabilly/issues/65 but that seems still to work only with absolute values.

Thanks.

desandro commented 8 years ago

Thanks for this feature request. +1 this issue if you would like to see this feature added.

Currently, no. grid option values are explicit pixel values. You can change them, but it requires adding your own JS.

desandro commented 8 years ago

Looks like no one else +1'd this feature request, so I'm going to close it. Thanks again for reporting this issue! 🍓