Skip to content

Commit edbc807

Browse files
author
Jordan Hunt
committed
Bonus fix: set background colour (reference selector)
When in iOS dark mode if the background isn't explicitly set a flash of white appears.
1 parent d18df1d commit edbc807

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

styles/native/js/core/widgets/referenceselector.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export const ReferenceSelector = {
6666
shadowOpacity: 0.2,
6767
shadowRadius: 10,
6868
elevation: 16,
69+
backgroundColor: input.backgroundColor
6970
},
7071
itemContainer: {
7172
// All ViewStyle properties are allowed

styles/native/ts/core/widgets/referenceselector.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export const ReferenceSelector: DropDownType = {
7070
shadowOpacity: 0.2,
7171
shadowRadius: 10,
7272
elevation: 16,
73+
backgroundColor: input.backgroundColor
7374
},
7475
itemContainer: {
7576
// All ViewStyle properties are allowed

0 commit comments

Comments
 (0)