You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to make cypress click the source element location and target location, however when cypress attempted to drag the source element it would be moved to the wrong location. I found that the locations were be captured from inside of the parent div, then when the element was dragged, its location would be placed relative to the body. This meant that the element was always to high to be dropped on its target. By replace .getBoundingClientRect() with .offsetTop I was able to correct this.
I was able to make cypress click the source element location and target location, however when cypress attempted to drag the source element it would be moved to the wrong location. I found that the locations were be captured from inside of the parent div, then when the element was dragged, its location would be placed relative to the body. This meant that the element was always to high to be dropped on its target. By replace .getBoundingClientRect() with .offsetTop I was able to correct this.
cypress-drag-drop/index.js
Line 26 in 2555c6e
cypress-drag-drop/index.js
Line 121 in 2555c6e
The text was updated successfully, but these errors were encountered: