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

[CORL-1357] Intersection Provider Fixes #3167

Merged
merged 2 commits into from Sep 2, 2020
Merged

[CORL-1357] Intersection Provider Fixes #3167

merged 2 commits into from Sep 2, 2020

Conversation

wyattjoh
Copy link
Collaborator

@wyattjoh wyattjoh commented Sep 1, 2020

What does this PR do?

Fixes race condition where callbacks were not checked before execution. This also replaces usage of the withInView with useInView.

What changes to the GraphQL/Database Schema does this PR introduce?

None.

How do I test this PR?

Load the comment stream and do not notice errors relating to intersection observers. Try to scroll on admin where you'd expect infinite scroll to occur, notice it working!

@wyattjoh wyattjoh added the bug label Sep 1, 2020
@wyattjoh wyattjoh added this to the v6.3.5 milestone Sep 1, 2020
@kgardnr kgardnr requested review from cvle and tessalt September 1, 2020 22:27
@cvle cvle added the 🚀 merge it! Pull requests that should be merged after status checks pass with a review label Sep 2, 2020
@kodiakhq kodiakhq bot merged commit 832f19b into master Sep 2, 2020
@kodiakhq kodiakhq bot deleted the bugfix/CORL-1357 branch September 2, 2020 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🚀 merge it! Pull requests that should be merged after status checks pass with a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants