Skip to content

Update examples - #4208

Merged
m-bert merged 3 commits into
mainfrom
@mbert/update-examples
Jun 2, 2026
Merged

Update examples #4208
m-bert merged 3 commits into
mainfrom
@mbert/update-examples

Conversation

@m-bert

@m-bert m-bert commented May 28, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR does 3 things:

  • Changes name of Hover icons example as it was not relevant
  • Updates GestureStateManager example
  • Updates SharedValue example

Note

I've wanted to add numberOfTaps counter, as well as render counter in the SharedValue example but I've encountered some problems with Reanimated so I dropped it for now 😞

Test plan

Test new examples

Copilot AI review requested due to automatic review settings May 28, 2026 08:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment on lines +33 to +37
GestureStateManager.activate(bottomPan.handlerTag);
},
onFinalize: () => {
'worklet';
isActivated[index].value = 0;
const nextIndex = index + 1;
if (nextIndex < gestures.length) {
const nextGesture = gestures[nextIndex];
if (nextGesture) {
GestureStateManager.deactivate(nextGesture.handlerTag);
}
}
upperPanActive.value = withTiming(0, { duration: 300 });
GestureStateManager.deactivate(bottomPan.handlerTag);
@m-bert
m-bert merged commit bff6777 into main Jun 2, 2026
4 checks passed
@m-bert
m-bert deleted the @mbert/update-examples branch June 2, 2026 10:28
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.

3 participants