Skip to content

Conversation

@zy19890102
Copy link

When I scroll the trackingScrollView, it generates an offset. However, the gesture state may occur during the begin state, which causes the floatingPanel to be dragged along when I scroll the trackingScrollView, resulting in slight jitter.

Updated the gesture recognizer logic to also consider the .began state of the scrollView's panGestureRecognizer, in addition to .changed. This ensures gestures are handled correctly at the start of a pan.
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.

1 participant