Skip to content

Commit 1fb2b35

Browse files
committed
Setting stroke now sets stroke of inactive fields as well
1 parent 679da4f commit 1fb2b35

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/textfield/textfield.ios.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ export class TextField extends TextFieldBase {
188188
}
189189
[strokeColorProperty.setNative](value: Color) {
190190
const color = value instanceof Color ? value.ios : value;
191+
this._controller.normalColor = color;
191192
this._controller.activeColor = color;
192193
}
193194
[buttonColorProperty.setNative](value: Color) {

src/textview/textview.ios.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ export class TextView extends TextViewBase {
248248
[strokeColorProperty.setNative](value: Color) {
249249
const color = value instanceof Color ? value.ios : value;
250250
this._controller.activeColor = color;
251+
this._controller.normalColor = color;
251252
}
252253
[buttonColorProperty.setNative](value: Color) {
253254
const color = value instanceof Color ? value.ios : value;

0 commit comments

Comments
 (0)