AshesOfOwls / jquery.shapeshift

A dynamic grid system with drag and drop functionality.
http://ashesofowls.github.com/jquery.shapeshift/
MIT License
1.67k stars 311 forks source link

if width of the child elements is 100% #13

Closed kanakiyajay closed 11 years ago

kanakiyajay commented 11 years ago

If you keep the width of the child elements which are to be dragged to be 100% , shapeshift doen't work.

AshesOfOwls commented 11 years ago

Could you explain a little further or provide an example?

If I understand you correctly, Shapeshift is designed to only work with elements that are all the same fixed width. I have a branch up now which will include items that can span multiple columns but I won't be able to get that in for a few days.

kanakiyajay commented 11 years ago

Here is the jsFiddle example . It might be a problem in jquery UI position itself. http://jsfiddle.net/bwenb/

https://github.com/kanakiyajay/dragdrop

The above is an example i have created.the drag widgets in the drop area should be positioned from 0px. but they have started from 400px.

AshesOfOwls commented 11 years ago

I see, well it falls in an area that I haven't really tested out yet so I can't tell you if it will or will not work. I'll definitely take a look at it very soon.

AshesOfOwls commented 11 years ago

I have not tested this with version 2.0 which will be released tonight, however I will try it out before I do. Unfortunately this is a very low priority for me though.

AshesOfOwls commented 11 years ago

This should work in 2.0