Skip to content

Commit ef7e449

Browse files
committed
fix: Remove primary controller
1 parent da991ba commit ef7e449

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ui/lib/src/text_field.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -454,8 +454,6 @@ class _MxcNonFormTextFieldState extends State<_MxcNonFormTextField> {
454454
Expanded(
455455
child: Scrollbar(
456456
child: TextField(
457-
// This should be defined on the parent widget
458-
scrollController: PrimaryScrollController.maybeOf(context),
459457
readOnly: widget.readOnly,
460458
keyboardType: widget.keyboardType,
461459
focusNode: focusNode,
@@ -843,8 +841,6 @@ class _MxcMiniNonFormTextFieldState extends State<_MxcMiniNonFormTextField> {
843841
Border.all(color: getColorBorder(), width: isThickBorder() ? 2 : 1),
844842
),
845843
child: TextField(
846-
// This should be defined on the parent widget
847-
scrollController: PrimaryScrollController.maybeOf(context),
848844
focusNode: focusNode,
849845
controller: widget.controller,
850846
cursorColor: getColorFont(),

0 commit comments

Comments
 (0)