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

TypeError when dragging handler beyond the screen edge #16

Open
allanrehhoff opened this issue Jun 27, 2017 · 0 comments
Open

TypeError when dragging handler beyond the screen edge #16

allanrehhoff opened this issue Jun 27, 2017 · 0 comments

Comments

@allanrehhoff
Copy link

allanrehhoff commented Jun 27, 2017

This might be a minor issue, but wanting to bring this console warning to the attention of the developer for sake of removing any potential bugs it might cause in the future.

RowSorter.min.js:731 Uncaught TypeError: Cannot read property 'tagName' of null
at closest (RowSorter.min.js:731)
at RowSorter._move (RowSorter.min.js:267)
at RowSorter.touchmove (RowSorter.min.js:247)
closest @ RowSorter.min.js:731
RowSorter._move @ RowSorter.min.js:267
touchmove @ RowSorter.min.js:247

Steps to reproduce:

  1. Create a sortable table, with drag handler attached to td.
  2. Drag a table row up/down and move touch pointer beyond the screen edge.

Eventuelly see this video: http://recordit.co/uoK2hL7JnY

So far in my testing this appears to have no negative effects, in relation to callbacks being fired.
both "onDragStart" and "onDrop" fires successfully.

Windows 10 with chrome 58.0.3029.110 (64-bit)

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