Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions apps/mobile/src/components/ui/AndroidAnchoredMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { use, useRef, useState } from "react";
import type { StyleProp, ViewInstance, ViewStyle } from "react-native";
import { Pressable, ScrollView, View } from "react-native";
import { useKeyboardState } from "react-native-keyboard-controller";
import Animated, { FadeIn } from "react-native-reanimated";

import { useHardwareBack } from "../../lib/backHandler";
import { deriveMenuHorizontalPlacement } from "../../lib/menu-placement";
Expand Down Expand Up @@ -181,8 +180,8 @@ export function AndroidAnchoredMenu(props: AndroidAnchoredMenuProps) {
onClose={close}
/>
) : (
<Animated.View
entering={FadeIn.duration(120)}
<View
// No entering animation: it freezes this frame before the Compose host reports its size.
className="absolute overflow-hidden bg-card-alt shadow-md"
style={{
left,
Expand Down Expand Up @@ -215,7 +214,7 @@ export function AndroidAnchoredMenu(props: AndroidAnchoredMenuProps) {
onClose={close}
/>
</ScrollView>
</Animated.View>
</View>
)}
</View>
</OverlayPortal>
Expand Down
Loading