Skip to content
#

webdevelopment

Here are 1,869 public repositories matching this topic...

budibase
neo
tobiu
tobiu commented Feb 2, 2021

Flagging this issue as "good first issue" & "help wanted", since it is an easy one.

Move the logic inside the promise callback of dragStart() into a new method.

        Neo.main.DomAccess.getBoundingClientRect({
            id: me.getDragElementRoot().id
        }).then(rect => {
            offsetX = data.clientX - rect.left;
            offsetY = data.clientY - rect.top;

      

Improve this page

Add a description, image, and links to the webdevelopment topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the webdevelopment topic, visit your repo's landing page and select "manage topics."

Learn more