Unverified Commit 47f8e956 authored by Mouad Debbar's avatar Mouad Debbar Committed by GitHub

Swap the Shortcuts widget with its child in TextField (#74683)

parent 7475510b
......@@ -1290,12 +1290,12 @@ class _TextFieldState extends State<TextField> with RestorationMixin implements
semanticsMaxValueLength = null;
}
return Shortcuts(
shortcuts: scrollShortcutOverrides,
child: MouseRegion(
return MouseRegion(
cursor: effectiveMouseCursor,
onEnter: (PointerEnterEvent event) => _handleHover(true),
onExit: (PointerExitEvent event) => _handleHover(false),
child: Shortcuts(
shortcuts: scrollShortcutOverrides,
child: IgnorePointer(
ignoring: !_isEnabled,
child: AnimatedBuilder(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment