Skip to content

Commit aae5e43

Browse files
authored
Merge pull request #96 from mendix/fix/WT-2771_native_dropdown_bg_colour
[WT-2771] Set Native DropDown menu background colour
2 parents 4166f77 + 6dc5479 commit aae5e43

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
"react-native-device-info": "^5.5.3"
2424
},
2525
"dependencies": {}
26-
}
26+
}

styles/native/js/core/widgets/dropdown.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export const DropDown = {
6464
shadowOpacity: 0.2,
6565
shadowRadius: 10,
6666
elevation: 16,
67+
backgroundColor: input.backgroundColor,
6768
},
6869
itemContainer: {
6970
// All ViewStyle properties are allowed

styles/native/ts/core/widgets/dropdown.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export const DropDown: DropDownType = {
6868
shadowOpacity: 0.2,
6969
shadowRadius: 10,
7070
elevation: 16,
71+
backgroundColor: input.backgroundColor,
7172
},
7273
itemContainer: {
7374
// All ViewStyle properties are allowed

0 commit comments

Comments
 (0)