Skip to content
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

Drag and drop highlighting text rather than dragging/dropping #824

Open
rouilj opened this issue Oct 14, 2020 · 0 comments
Open

Drag and drop highlighting text rather than dragging/dropping #824

rouilj opened this issue Oct 14, 2020 · 0 comments

Comments

@rouilj
Copy link

rouilj commented Oct 14, 2020

I am using Sortable.js to allow drag/drop ordering of rows in a table.
It uses the first cell in each row as a handle to trigger the drag.

If I try to drag the second row in the table to do a drag and drop onto the the handle of the 7th row,
the row doesn't move, instead a screenshot shows that all text in the table is highlighted.

I have attached a script to reproduce with a public instance.

dnd_text.py.txt

The intent is to drag and drop multiple rows and capture the before and after. The script has the code to select
multiple elements using selenium ActionChains commented out. When uncommented the screenshots show
the rows properly selected (different background color) but again text in the table is selected from the top until row 6.

So what am I missing in my test implementation?
Thanks.

-- rouilj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant