-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Object): pass ctx
to dnd methods
#9844
base: master
Are you sure you want to change the base?
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
Build Stats
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ready for review, please make this part of rc
The drag/drop effects are relatively new, if you want to swap the order of the arguments do it, but think first if to do an object or more paramters. |
ctx
to dnd methodsctx
to dnd methods
Either merge as is or re-check after param swapping |
I prefer param switching, do you think renderDrag.DropEffect should have ctx as first param as well? |
I missed this message. I want your opinion. I will change renderCursorAt and will wait for your call on the rest |
b746927
to
4452438
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I heeded your advice after I understood #9850
Passing points and source/target make sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is ready for another review
Done on my end
changed old chore to feat
Please keep them separate. My suggestion was saying that are probably multiple way to fix it this one seem the one with more code added. Also in this PR i think there is more that for the events? i see a prevTarget that seems new. |
I couldn't understand your comment |
Description
Control over the context the dnd effects are drawn upon is vital for apps.
Also since we transform it beforehand it must be supplied
In Action