mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
fix: context menu long press on android
This commit is contained in:
@@ -38,7 +38,12 @@ export default function Item({ data }: { data: ItemData }) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TouchableOpacity onPress={handlePress} style={{ width: "100%" }}>
|
<TouchableOpacity
|
||||||
|
onPress={handlePress}
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||||
|
onLongPress={() => {}}
|
||||||
|
style={{ width: "100%" }}
|
||||||
|
>
|
||||||
<View className="w-full">
|
<View className="w-full">
|
||||||
<ContextMenu actions={contextMenuActions} onPress={onContextMenuPress}>
|
<ContextMenu actions={contextMenuActions} onPress={onContextMenuPress}>
|
||||||
<View className="mb-2 aspect-[9/14] w-full overflow-hidden rounded-2xl">
|
<View className="mb-2 aspect-[9/14] w-full overflow-hidden rounded-2xl">
|
||||||
|
Reference in New Issue
Block a user