diff --git a/package-lock.json b/package-lock.json index afd3a36fbd518..cd1b5f7f0ad39 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#3e090db", "react-native-plaid-link-sdk": "12.5.3", "react-native-qrcode-svg": "6.3.21", "react-native-reanimated": "4.2.1", @@ -30532,6 +30532,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, @@ -34960,15 +34966,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#3e090db06ca5ee34c39f9e037ec490de8b0058bd", "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 2d142549d4de9..1f66247488262 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#3e090db", "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 031a0b7e85fd7..6ed26d9d8a83c 100644 --- a/src/components/Picker/BasePicker.tsx +++ b/src/components/Picker/BasePicker.tsx @@ -227,19 +227,8 @@ function BasePicker({ onClose={disableHighlight} textInputProps={{ allowFontScaling: false, - accessibilityRole: CONST.ROLE.COMBOBOX, - accessibilityLabel: actualAccessibilityLabel, - importantForAccessibility: 'no-hide-descendants', - }} - touchableDoneProps={{ - accessibilityRole: CONST.ROLE.BUTTON, - accessibilityLabel: translate('common.dismiss'), - }} - touchableWrapperProps={{ - accessible: true, - accessibilityRole: CONST.ROLE.COMBOBOX, - accessibilityLabel: actualAccessibilityLabel, }} + doneText={translate('common.done')} pickerProps={{ ref: picker, tabIndex: pickerTabIndex,