Skip to content

Commit d801b50

Browse files
authored
Fix for issue 647
1 parent 693dd95 commit d801b50

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/components/Picker.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,13 +1808,16 @@ function Picker({
18081808
const pointerEvents = useMemo(() => disabled ? "none" : "auto", [disabled]);
18091809

18101810
return (
1811-
<View style={_containerStyle} {...containerProps}>
1812-
<TouchableOpacity style={_style} onPress={__onPress} onLayout={__onLayout} {...props} ref={onRef} pointerEvents={pointerEvents} disabled={disabled} testID={testID}>
1813-
{_BodyComponent}
1814-
{_ArrowComponent}
1815-
</TouchableOpacity>
1811+
<>
1812+
<View style={_containerStyle} {...containerProps}>
1813+
<TouchableOpacity style={_style} onPress={__onPress} onLayout={__onLayout} {...props} ref={onRef} pointerEvents={pointerEvents} disabled={disabled} testID={testID}>
1814+
{_BodyComponent}
1815+
{_ArrowComponent}
1816+
</TouchableOpacity>
1817+
</View>
1818+
18161819
{DropDownBodyComponent}
1817-
</View>
1820+
</>
18181821
);
18191822
}
18201823

0 commit comments

Comments
 (0)