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
This is probably more a question/discussion issue: Does Pheno have (want to have) any say in the drag and drop process? :)
I noticed that currently PHClickable>>#mouseDown: prevents the default drag and drop process to kick in (adding a super call solves that for now). At the same time there is the PHClickable>>#initiateDragOf: hook which seems to be used to implement a simple drag and drop forwarding?
The text was updated successfully, but these errors were encountered:
If there is no nasty side effects (e.g. hover state not being removed) of letting the default DnD kick in, we should definitely add the super calls for event handling right away. I believe the fact that they're missing right now was merely an oversight.
Other than that I believe that Pheno should support some DnD capabilities and probably ship with some DnD interactions by default as well. I would like to use this issue as a starting to point to collect some use cases to find an abstraction that fits the library well (in the best case, this will just be the default Morphic DnD).
Reordering lists
Creating "dropzones" for external files, possibly also as part of a designated filepicker button
Moving text between textareas (as already seen in Morphic)
Special subcase of constrainted movement for the slider of the scrollbar/sliders in general?
This is probably more a question/discussion issue: Does Pheno have (want to have) any say in the drag and drop process? :)
I noticed that currently PHClickable>>#mouseDown: prevents the default drag and drop process to kick in (adding a super call solves that for now). At the same time there is the PHClickable>>#initiateDragOf: hook which seems to be used to implement a simple drag and drop forwarding?
The text was updated successfully, but these errors were encountered: