fix(mobile): extend Android list separators to full width
This commit is contained in:
1 file changed
+5
-2
@@ -59,7 +59,8 @@ export function MenuView({
|
||||
outlineVariant: "#545458",
|
||||
error: "#FF453A",
|
||||
}}
|
||||
matchContents
|
||||
// Rows fill their parent width; compact action buttons keep intrinsic sizing.
|
||||
matchContents={shouldOpenOnLongPress ? { vertical: true } : true}
|
||||
>
|
||||
<DropdownMenu
|
||||
expanded={expanded}
|
||||
@@ -70,7 +71,9 @@ export function MenuView({
|
||||
properties={{ clippingEnabled: false }}
|
||||
>
|
||||
<DropdownMenu.Trigger>
|
||||
<RNHostView matchContents>
|
||||
<RNHostView
|
||||
matchContents={shouldOpenOnLongPress ? { vertical: true } : true}
|
||||
>
|
||||
{shouldOpenOnLongPress ? (
|
||||
<GestureDetector gesture={longPress}>
|
||||
<View collapsable={false}>{children}</View>
|
||||
|
||||
Reference in new issue
Block a user