Skip to content

Commit 1d1c87c

Browse files
committed
docs(mobile): clarify the menu measurement constraint
1 parent cca47d7 commit 1d1c87c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎apps/mobile/src/components/ui/AndroidAnchoredMenu.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,7 @@ export function AndroidAnchoredMenu(props: AndroidAnchoredMenuProps) {
181181
onClose={close}
182182
/>
183183
) : (
184-
// Reanimated loses frame changes made before a pending entering animation starts, and
185-
// the menu grows once Compose measures it, so the fade runs on a fixed-size wrapper.
184+
// Keep the fade on a fixed-size wrapper so Compose measurement can resize the menu.
186185
<Animated.View
187186
entering={FadeIn.duration(120)}
188187
pointerEvents="box-none"

0 commit comments

Comments
 (0)