Skip to content

Commit 16d7e1a

Browse files
committed
native fixes
1 parent 2dd6627 commit 16d7e1a

File tree

9 files changed

+34
-9
lines changed

9 files changed

+34
-9
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.7.2](https://github.com/nandorojo/zeego/compare/v1.7.1...v1.7.2) (2023-10-06)
7+
8+
**Note:** Version bump only for package zeego
9+
10+
11+
12+
13+
614
## [1.7.1](https://github.com/nandorojo/zeego/compare/v1.5.2...v1.7.1) (2023-10-05)
715

816
**Note:** Version bump only for package zeego

examples/expo/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.7.2](https://github.com/nandorojo/zeego/compare/v1.7.1...v1.7.2) (2023-10-06)
7+
8+
**Note:** Version bump only for package zeeg-example
9+
10+
11+
12+
13+
614
## [1.7.1](https://github.com/nandorojo/zeego/compare/v1.5.2...v1.7.1) (2023-10-05)
715

816
**Note:** Version bump only for package zeeg-example

examples/expo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "zeeg-example",
33
"description": "Example app for zeego",
4-
"version": "1.7.1",
4+
"version": "1.7.2",
55
"private": true,
66
"main": "index.js",
77
"scripts": {
@@ -22,7 +22,7 @@
2222
"react-dom": "18.0.0",
2323
"react-native": "0.69.6",
2424
"react-native-gesture-handler": "~2.5.0",
25-
"react-native-ios-context-menu": "^1.15.1",
25+
"react-native-ios-context-menu": "2.3.2",
2626
"react-native-reanimated": "~2.9.1",
2727
"react-native-safe-area-context": "4.3.1",
2828
"react-native-screens": "~3.15.0",

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
],
66
"npmClient": "yarn",
77
"useWorkspaces": true,
8-
"version": "1.7.1",
8+
"version": "1.7.2",
99
"command": {
1010
"publish": {
1111
"allowBranch": "master",

packages/zeego/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.7.2](https://github.com/nandorojo/zeego/compare/v1.7.1...v1.7.2) (2023-10-06)
7+
8+
**Note:** Version bump only for package zeego
9+
10+
11+
12+
13+
614
## [1.7.1](https://github.com/nandorojo/zeego/compare/v1.5.2...v1.7.1) (2023-10-05)
715

816
**Note:** Version bump only for package zeego

packages/zeego/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"@react-native-menu/menu": "*",
8080
"react": "*",
8181
"react-native": "*",
82-
"react-native-ios-context-menu": "^1.15.1"
82+
"react-native-ios-context-menu": "^2.3.2"
8383
},
8484
"jest": {
8585
"preset": "react-native",

packages/zeego/src/menu/create-android-menu/index.android.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ If you want to use a custom component as your <Content />, you can use the creat
437437
<MenuView
438438
title={menuTitle}
439439
onPressAction={({ nativeEvent }) => {
440-
callbacks[nativeEvent.event]()
440+
callbacks[nativeEvent.event]?.()
441441
}}
442442
shouldOpenOnLongPress={shouldOpenOnLongPress}
443443
actions={menuItems}

packages/zeego/src/menu/create-ios-menu/index.ios.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ If you want to use a custom component as your <Content />, you can use the creat
532532
onPressMenuPreview={
533533
Menu === 'ContextMenu' ? previewProps?.onPress : undefined
534534
}
535+
shouldPreventLongPressGestureFromPropagating
535536
auxiliaryPreviewConfig={
536537
auxiliaryProps?.children
537538
? {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18749,10 +18749,10 @@ react-native-gradle-plugin@^0.0.7:
1874918749
resolved "https://registry.yarnpkg.com/react-native-gradle-plugin/-/react-native-gradle-plugin-0.0.7.tgz#96602f909745239deab7b589443f14fce5da2056"
1875018750
integrity sha512-+4JpbIx42zGTONhBTIXSyfyHICHC29VTvhkkoUOJAh/XHPEixpuBduYgf6Y4y9wsN1ARlQhBBoptTvXvAFQf5g==
1875118751

18752-
react-native-ios-context-menu@^1.15.1:
18753-
version "1.15.1"
18754-
resolved "https://registry.yarnpkg.com/react-native-ios-context-menu/-/react-native-ios-context-menu-1.15.1.tgz#f3edf20c5fc426b073a110140a2d441250576aa1"
18755-
integrity sha512-JkOJGx8Kjm7ChyDBmv1TqZg9mg8Jo8Y6kZISVbsXndx22Ke8sEIZGrizw6aXjkSQafomJ0ZAEZU7kuFHbFEwlg==
18752+
react-native-ios-context-menu@2.3.2:
18753+
version "2.3.2"
18754+
resolved "https://registry.yarnpkg.com/react-native-ios-context-menu/-/react-native-ios-context-menu-2.3.2.tgz#ba1dbc4bd03032bf52d9fb0ed7cb917099b4d8ee"
18755+
integrity sha512-fkuvvV9iDucbrR5Yjo3IztB3MWAjXo4o9ZOEoBqGPxkvbyT6P8lv7kpaBE2BUkeZEbDVTcE1evApjyI1Ne67YA==
1875618756
dependencies:
1875718757
"@dominicstop/ts-event-emitter" "^1.1.0"
1875818758

0 commit comments

Comments
 (0)