Skip to content

Commit

Permalink
fix: toast showing again when dragging after it was dismissed (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubinaga authored Dec 14, 2023
1 parent 4aad9a7 commit 1b23564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AnimatedContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export function AnimatedContainer({
style={[styles.base, styles[position], animationStyles]}
// This container View is never the target of touch events but its subviews can be.
// By doing this, tapping buttons behind the Toast is allowed
pointerEvents='box-none'
pointerEvents={isVisible ? 'box-none' : 'none'}
{...panResponder.panHandlers}>
{children}
</Animated.View>
Expand Down

0 comments on commit 1b23564

Please sign in to comment.