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

virtualization, ordering, don't fire dragend event. #718

Closed
1 task done
YongThePsibor opened this issue Oct 8, 2023 · 0 comments
Closed
1 task done

virtualization, ordering, don't fire dragend event. #718

YongThePsibor opened this issue Oct 8, 2023 · 0 comments

Comments

@YongThePsibor
Copy link
Contributor

material-react-table version

v1.15.0

react & react-dom versions

v18.2.0

Describe the bug and the steps to reproduce it

  1. enableRowOrdering
  2. enableRowVirtualization
  3. drag the first row and scroll down, to the point that the first row is removed from document because of virtualization
  4. release mouse
  5. you can see the draggingRow and hoveredRow is not set to null(still have the dragging or hovered style), because of MRT_GrabHandleButton don't fire onDragEnd event
  6. column dragging is the same

Minimal, Reproducible Example - (Optional, but Recommended)

https://codesandbox.io/p/sandbox/sad-darkness-gjprfx

Screenshots or Videos (Optional)

Jietu20231008-182239

Do you intend to try to help solve this bug with your own PR?

Yes, I think I know how to fix it and will discuss it in the comments of this issue

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
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