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

[table] fix(Draggable): defensive checks for invalid child target refs #6255

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

adidahiya
Copy link
Contributor

Fixes #6248

Checklist

  • Includes tests
  • Update documentation

Changes proposed in this pull request:

  • fix(Draggable): improve resiliency of component by adding defensive checks that ensure that children have a valid DOM ref before attaching DragEvents functionality
  • fix(EditableName): improve compatibility with <Draggable> by refactoring into a function component and adding ref prop support via React.forwardRef()
  • fix(EditableText): widen type of elementRef prop to allow ref callbacks (improving compatibility with forwarded refs)

Reviewers should focus on:

no regressions in table functionality & tests

Screenshot

@adidahiya
Copy link
Contributor Author

[table] fix(Draggable): defensive checks for invalid child target refs

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@adidahiya adidahiya merged commit b751eb1 into develop Jun 28, 2023
12 checks passed
@adidahiya adidahiya deleted the ad/fix-table-draggable branch June 28, 2023 14:10
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

Successfully merging this pull request may close these issues.

Draggable component regression in attaching event listeners
1 participant