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

Limit set state on isOverridingSwipeGestureAction in comment_card #694

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

ajsosa
Copy link
Collaborator

@ajsosa ajsosa commented Aug 29, 2023

Pull Request Description

Added an if check so we don't set state on isOverridingSwipeGestureAction every single time you lift finger off screen in the post/comment view. Helps with limiting jank frames when scrolling comments.

Checklist

  • Did you update CHANGELOG.md?
  • Did you use localized strings where applicable?
  • Did you add semanticLabels where applicable for accessibility?

…rue before we set it in the onPointerUp listener. Without this change, every single time your finger leaves the screen in the comment section, set state is triggered
Copy link
Member

@micahmo micahmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@micahmo micahmo merged commit 736d741 into thunder-app:develop Aug 29, 2023
1 check passed
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.

None yet

2 participants