diff --git a/package-lock.json b/package-lock.json index 8eb7c5ee313e5..007f12c8e6a38 100644 --- a/package-lock.json +++ b/package-lock.json @@ -121,7 +121,7 @@ "react-native-pager-view": "8.0.0", "react-native-pdf": "7.0.2", "react-native-permissions": "^5.4.0", - "react-native-picker-select": "git+https://github.com/Expensify/react-native-picker-select.git#07d60d78d4772d47afd7a744940fc6b6d1881806", + "react-native-picker-select": "github:Expensify/react-native-picker-select#acf8e54", "react-native-plaid-link-sdk": "12.5.3", "react-native-qrcode-svg": "6.3.21", "react-native-reanimated": "4.2.1", @@ -30702,6 +30702,12 @@ "version": "4.5.0", "license": "MIT" }, + "node_modules/lodash.isobject": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-3.0.2.tgz", + "integrity": "sha512-3/Qptq2vr7WeJbB4KHUSKlq8Pl7ASXi3UG6CMbBm8WRtXi8+GHm7mKaU3urfpSEzWe2wCIChs6/sdocUsTKJiA==", + "license": "MIT" + }, "node_modules/lodash.memoize": { "version": "4.1.2", "dev": true, @@ -34661,15 +34667,15 @@ } }, "node_modules/react-native-picker-select": { - "version": "8.1.0", - "resolved": "git+ssh://git@github.com/Expensify/react-native-picker-select.git#07d60d78d4772d47afd7a744940fc6b6d1881806", - "integrity": "sha512-Ty7/wdzJizmUBKUvjxsU6thJUbNF+5hBJ5Zj/q6A+cAKB6Rg7bigDxZVssMtWTxMa/H2bkXXwKN/ZurSjNAKeg==", + "version": "9.3.1", + "resolved": "git+ssh://git@github.com/Expensify/react-native-picker-select.git#acf8e54cdd8df2b7cc366f9533688513754993a5", "license": "MIT", "dependencies": { - "lodash.isequal": "^4.5.0" + "lodash.isequal": "^4.5.0", + "lodash.isobject": "^3.0.2" }, "peerDependencies": { - "@react-native-picker/picker": ">=2.1.0" + "@react-native-picker/picker": "^2.4.0" } }, "node_modules/react-native-plaid-link-sdk": { diff --git a/package.json b/package.json index 255946029480b..cf63812313425 100644 --- a/package.json +++ b/package.json @@ -185,7 +185,7 @@ "react-native-pager-view": "8.0.0", "react-native-pdf": "7.0.2", "react-native-permissions": "^5.4.0", - "react-native-picker-select": "git+https://github.com/Expensify/react-native-picker-select.git#07d60d78d4772d47afd7a744940fc6b6d1881806", + "react-native-picker-select": "github:Expensify/react-native-picker-select#acf8e54", "react-native-plaid-link-sdk": "12.5.3", "react-native-qrcode-svg": "6.3.21", "react-native-reanimated": "4.2.1", diff --git a/src/components/Picker/BasePicker.tsx b/src/components/Picker/BasePicker.tsx index 14413b126b7e4..20ce6b232208e 100644 --- a/src/components/Picker/BasePicker.tsx +++ b/src/components/Picker/BasePicker.tsx @@ -209,17 +209,10 @@ function BasePicker({ onClose={disableHighlight} textInputProps={{ allowFontScaling: false, - importantForAccessibility: 'no-hide-descendants', }} touchableDoneProps={{ accessibilityRole: CONST.ROLE.BUTTON, }} - touchableWrapperProps={{ - accessible: true, - accessibilityRole: CONST.ROLE.COMBOBOX, - accessibilityLabel, - accessibilityState: {disabled: isDisabled, expanded: isHighlighted}, - }} pickerProps={{ ref: picker, tabIndex: pickerTabIndex,