Skip to content

Commit 3799070

Browse files
authored
Remove deprecated detectChanges call in input multiline (#49)
Tested by @jodinathan
1 parent 309de8f commit 3799070

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

angular_components/lib/material_input/material_input_multiline.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,7 @@ class MaterialMultilineInputComponent extends BaseMaterialInput
117117
_inputLineHeight = height;
118118
_subscription?.cancel();
119119
_subscription = null;
120-
_changeDetector
121-
..markForCheck()
122-
// TODO(google): remove after the bug is fixed.
123-
..detectChanges();
120+
_changeDetector.markForCheck();
124121
} else if (_subscription == null) {
125122
// Listen to dom changes until we can read the line height.
126123
_subscription = _domService.onLayoutChanged.listen((_) {

0 commit comments

Comments
 (0)