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

fix: detect browser support for passive events #2325

Merged
merged 1 commit into from
May 14, 2020
Merged

fix: detect browser support for passive events #2325

merged 1 commit into from
May 14, 2020

Conversation

BrianMitchL
Copy link
Contributor

This fixes #2302 and brings IE support to the useResizeColumns plugin. It adds a feature check function which performs a memoized check for using { passive: false } in an event handler.

It seems that with IE 11, the event could be added with the unsupported option, but then the event could never be removed. This caused a move handler to be added on every mousedown on a resizer, and the rezising would never stop.

More info on the feature check:

@tannerlinsley tannerlinsley merged commit fddbc19 into TanStack:master May 14, 2020
@tannerlinsley
Copy link
Collaborator

Nice! Would you mind adding this to the Next branch too?

@BrianMitchL
Copy link
Contributor Author

Sure thing!

@tannerlinsley
Copy link
Collaborator

🎉 This PR is included in version 7.0.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

useResizeColumns - IE11 issue
2 participants