3 ms·
> record the position the dragged objects ends up in Can you explain this in more detail? Don’t you need to actually change the layout to figure this out corre
by tobr 3y ago
> record the position the dragged objects ends up in
Can you explain this in more detail? Don’t you need to actually change the layout to figure this out correctly? Or are you approximating it with the top/left corner of the current element in the same place or something?
EDIT: I read to fast, for some reason I understood step 1 as figuring out the location/bounding box of each drop target, but I think you mean to actually put the dragged object there and let the browser compute the layout.
- aboodman 3y agoYes, that's what I mean.