-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix table stealing selectionchange #4162
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch!
size-limit report 📦
|
@@ -141,21 +142,29 @@ export function applyTableHandlers( | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tableElement.addEventListener('mouseleave', () => {
if (isMouseDown) {
return;
}
});
Is this one needed at all? (unrelated to changes, just noticed)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed offline; let's leave this for now as the comment above is important
// Select entire table at this point, when grid selection is ready.
Basically means that it wasn't implemented yet 🙃
Turns out that the
mouseDown
logic inside the table plugin was handling more events than it should.Screen.Recording.2023-03-20.at.3.19.08.PM.mov
Fixes #3785
Fixes #4138