-
Notifications
You must be signed in to change notification settings - Fork 453
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
User should be able to drag and drop an element to another location on the screen #104
Comments
Waiting for this feature folks.. Its needy in my case, as many steps involves drag and drop in my use case. |
some thoughts on api design: case 1: Move source element into destination case 2: Move source element into destination with relative to other element on the destination case 3: Move source element into given direction by some pixel |
Question
|
@dinesarun can you share a gif showing how you use drag and drop? Will help us think of a better API |
Hi @zabil , Thanks in Advance.. Can you please shoot a hello mail to dinuswt22@gmail.com? Let me mail you GIF showing how I use drag and drop in my application. And kudos for giving good intro about Taiko at Thoughtworks 'GeekNight'. That reminded me to try out this :) |
eg: `await dragAndDrop("task 1",{top:200,right:200})` values are given in pixels
UPDATE: case 1 and case 3 are available in master 14cfdbc. |
Thanks @NivedhaSenthil . Available in master branch means, it will be available in latest NPM install? Am using Windows OS. |
It is yet to be released. Still it can be installed via |
Above case won't be supported as it can be achieved by giving proximity selector for destination or by moving into position. Issue related to HTML5 draggable elements is tracked in #279 |
Suggestion |
Discussion update Drag and drop performs the action and need not return anything. |
Updated api to accept |
Currently the element location can be found using |
Expected behavior
User should be able to drag and drop an element to another location on the screen
Current behavior
There is no support for the action
drag and drop
Version
The text was updated successfully, but these errors were encountered: