grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

Drag and drop issue in dragMode of translate

Open ramusesan opened this issue 6 years ago • 7 comments

there is an issue am facing (seems offset issue) while trying and hold and drag the toolbar's move icon

i have added bootstrap and columns (col-sm-2 & col-sm-10) then trying to hold the targeted component and dragging its working fine. but it doesn't work properly when I try to drag the component by holding move icon of toolbar _i.e cursor position and component position getting more distance between _ but if I click on the full-screen button or use col-sm-12 (full width) and try two drag and drop works fine

I have attached below the live demo

GrapesJS

ramusesan avatar Dec 26 '19 12:12 ramusesan

could anyone help on this issue @pouyamiralayi do you have any idea

ramusesan avatar Dec 30 '19 06:12 ramusesan

@ramusesan might be related to this issue: #2423 hopefully the refactored canvas will solve these issues As @artf suggested on that issue you could try this branch: https://github.com/artf/grapesjs/tree/multi-frame

MartinPutz avatar Dec 30 '19 08:12 MartinPutz

hi @ramusesan here is the PR. cheers!

pouyamiralayi avatar Dec 30 '19 10:12 pouyamiralayi

thank you guys @MartinPutz @pouyamiralayi

ramusesan avatar Dec 30 '19 12:12 ramusesan

Thanks for the report @ramusesan I close this as a duplicate of #2207 Changes in the PR will be available in the next release

artf avatar Jan 02 '20 17:01 artf

Thanks for the report @ramusesan I close this as a duplicate of #2207 Changes in the PR will be available in the next release

@artf When will this feature be added? It really is necessary

motazad avatar May 28 '20 12:05 motazad

Drag mode translate X and Y in pixel, for responsive how we can set with % X and Y coordinates

amarjeet16ril avatar Feb 10 '22 07:02 amarjeet16ril