Swap the Shortcuts widget with its child in TextField (#74683)
This commit is contained in:
parent
7475510ba9
commit
47f8e956d3
@ -1290,12 +1290,12 @@ class _TextFieldState extends State<TextField> with RestorationMixin implements
|
||||
semanticsMaxValueLength = null;
|
||||
}
|
||||
|
||||
return Shortcuts(
|
||||
shortcuts: scrollShortcutOverrides,
|
||||
child: MouseRegion(
|
||||
cursor: effectiveMouseCursor,
|
||||
onEnter: (PointerEnterEvent event) => _handleHover(true),
|
||||
onExit: (PointerExitEvent event) => _handleHover(false),
|
||||
return MouseRegion(
|
||||
cursor: effectiveMouseCursor,
|
||||
onEnter: (PointerEnterEvent event) => _handleHover(true),
|
||||
onExit: (PointerExitEvent event) => _handleHover(false),
|
||||
child: Shortcuts(
|
||||
shortcuts: scrollShortcutOverrides,
|
||||
child: IgnorePointer(
|
||||
ignoring: !_isEnabled,
|
||||
child: AnimatedBuilder(
|
||||
|
Loading…
x
Reference in New Issue
Block a user