Currently, we're handing drag positioning for flex or block only. We need to handle grid.
Here is where we're handling the drag logic. The stub is the gray box that represents the future drop position. We need to calculate the correct position for the stub element in order to implement drag.
I think this is a well-scoped problem (though difficult) so would be good for first-time contributor
Describe the feature
Currently, we're handing drag positioning for flex or block only. We need to handle grid.
Here is where we're handling the drag logic. The stub is the gray box that represents the future drop position. We need to calculate the correct position for the stub element in order to implement drag.
I think this is a well-scoped problem (though difficult) so would be good for first-time contributor
https://github.com/onlook-dev/onlook/blob/d00ac57a865e853dfa8dabc7f13f3ab05675bd24/app/electron/preload/webview/elements/move/stub.ts#L20