Skip to content

Commit

Permalink
fix: toast pops up randomly when drawer/dialog opens (Android-only)
Browse files Browse the repository at this point in the history
  • Loading branch information
calintamas committed Sep 19, 2024
1 parent fd3a03a commit 6a29275
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/hooks/useSlideAnimation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ export function translateYOutputRangeFor({
return outputRange;
}

const useNativeDriver = Platform.select({ native: true, default: false });
const useNativeDriver = Platform.select({
ios: true,
default: false
});

export function useSlideAnimation({
position,
Expand Down

0 comments on commit 6a29275

Please sign in to comment.