We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b441be commit 6d517ddCopy full SHA for 6d517dd
super_editor/lib/src/super_textfield/infrastructure/text_scrollview.dart
@@ -423,6 +423,8 @@ class _TextScrollViewState extends State<TextScrollView>
423
child: SingleChildScrollView(
424
key: _textFieldViewportKey,
425
controller: _scrollController,
426
+ // Passing null for scroll physics for multiline text fields will
427
+ // apply an appropriate physics for the underlying host platform.
428
physics: isMultiline ? null : const NeverScrollableScrollPhysics(),
429
scrollDirection: isMultiline ? Axis.vertical : Axis.horizontal,
430
child: Padding(
0 commit comments