Compare commits

...
@@ -59,7 +59,8 @@ export function MenuView({
outlineVariant: "#545458", outlineVariant: "#545458",
error: "#FF453A", error: "#FF453A",
}} }}
matchContents // Rows fill their parent width; compact action buttons keep intrinsic sizing.
matchContents={shouldOpenOnLongPress ? { vertical: true } : true}
> >
<DropdownMenu <DropdownMenu
expanded={expanded} expanded={expanded}
@@ -70,7 +71,9 @@ export function MenuView({
properties={{ clippingEnabled: false }} properties={{ clippingEnabled: false }}
> >
<DropdownMenu.Trigger> <DropdownMenu.Trigger>
<RNHostView matchContents> <RNHostView
matchContents={shouldOpenOnLongPress ? { vertical: true } : true}
>
{shouldOpenOnLongPress ? ( {shouldOpenOnLongPress ? (
<GestureDetector gesture={longPress}> <GestureDetector gesture={longPress}>
<View collapsable={false}>{children}</View> <View collapsable={false}>{children}</View>