Skip to content

Commit

Permalink
Merge pull request #2701 from gluestack/release/@gluestack-ui/pin-inp…
Browse files Browse the repository at this point in the history
  • Loading branch information
gluestackadmin authored Jan 10, 2025
2 parents 2da6143 + 1a96f9e commit 6344b86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/unstyled/image-viewer/src/ImageViewerContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ const ImageViewerContent = (
Gesture.Simultaneous(pinchGesture, panGesture)
);

// This type error is coming from reanimated and react native types itself
// https://github.com/software-mansion/react-native-reanimated/issues/4548
// @ts-ignore
const animatedStyle = useAnimatedStyle(() => {
runOnJS(setScale)(scale.value);
if (scale.value <= 1) {
Expand Down

0 comments on commit 6344b86

Please sign in to comment.