File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
styles/native/ts/core/widgets Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,8 @@ export const DropDown: DropDownType = {
7979 } ,
8080 itemContainer : {
8181 // All ViewStyle properties & rippleColor & activeOpacity & underlayColor are allowed
82+ width : "100%" ,
83+ maxWidth : undefined , // unset core widget's default maxWidth value (prior to 8.18.7)
8284 paddingVertical : 6 ,
8385 paddingHorizontal : 16 ,
8486 backgroundColor : input . backgroundColor ,
@@ -98,6 +100,8 @@ export const DropDown: DropDownType = {
98100 } ,
99101 selectedItemContainer : {
100102 // All ViewStyle properties are allowed
103+ width : "100%" ,
104+ maxWidth : undefined , // unset core widget's default maxWidth value (prior to 8.18.7)
101105 backgroundColor : contrast . lowest ,
102106 } ,
103107 /* New dropdown styles end */
Original file line number Diff line number Diff line change @@ -81,6 +81,8 @@ export const ReferenceSelector: DropDownType = {
8181 } ,
8282 itemContainer : {
8383 // All ViewStyle properties & rippleColor & activeOpacity & underlayColor are allowed
84+ width : "100%" ,
85+ maxWidth : undefined , // unset core widget's default maxWidth value (prior to 8.18.7)
8486 paddingVertical : 6 ,
8587 paddingHorizontal : 16 ,
8688 backgroundColor : input . backgroundColor ,
@@ -100,6 +102,8 @@ export const ReferenceSelector: DropDownType = {
100102 } ,
101103 selectedItemContainer : {
102104 // All ViewStyle properties are allowed
105+ width : "100%" ,
106+ maxWidth : undefined , // unset core widget's default maxWidth value (prior to 8.18.7)
103107 backgroundColor : contrast . lowest ,
104108 } ,
105109 /* New dropdown styles end */
You can’t perform that action at this time.
0 commit comments