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

Dragging do not work if table cell contain HTML elements #93

Closed
kkozlik opened this issue Feb 8, 2019 · 1 comment · Fixed by kkozlik/TableDnD#1 · May be fixed by #94
Closed

Dragging do not work if table cell contain HTML elements #93

kkozlik opened this issue Feb 8, 2019 · 1 comment · Fixed by kkozlik/TableDnD#1 · May be fixed by #94

Comments

@kkozlik
Copy link

kkozlik commented Feb 8, 2019

If the table cell (TD) contain any HTML nodes and user try to click and drag on these nodes, the dragging do not start.

See following fiddle:
http://jsfiddle.net/8fb5apn9/2/

If you click and drag the 'One" or '1' text the dragging does not start. On the other cells it is working fine.

Tested on firefox and chromium.

@kkozlik
Copy link
Author

kkozlik commented Feb 8, 2019

It seems there is workaround with setting draghandle to TD:

.tableDnD({dragHandle: 'TD'});

But using this table DND do not change the mouse cursor

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