Skip to content

Commit 1ae5278

Browse files
authored
fix: editable on iOS (#201)
When `editable` is set to `false` in the very first render, this flag is actually never set to `false`. Meaning component is always editable
1 parent 80a7d81 commit 1ae5278

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ios/EnrichedTextInputView.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ - (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const &
423423
}
424424

425425
// editable
426-
if(newViewProps.editable != oldViewProps.editable) {
426+
if(newViewProps.editable != textView.editable) {
427427
textView.editable = newViewProps.editable;
428428
}
429429

0 commit comments

Comments
 (0)