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;
|
semanticsMaxValueLength = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Shortcuts(
|
return MouseRegion(
|
||||||
shortcuts: scrollShortcutOverrides,
|
cursor: effectiveMouseCursor,
|
||||||
child: MouseRegion(
|
onEnter: (PointerEnterEvent event) => _handleHover(true),
|
||||||
cursor: effectiveMouseCursor,
|
onExit: (PointerExitEvent event) => _handleHover(false),
|
||||||
onEnter: (PointerEnterEvent event) => _handleHover(true),
|
child: Shortcuts(
|
||||||
onExit: (PointerExitEvent event) => _handleHover(false),
|
shortcuts: scrollShortcutOverrides,
|
||||||
child: IgnorePointer(
|
child: IgnorePointer(
|
||||||
ignoring: !_isEnabled,
|
ignoring: !_isEnabled,
|
||||||
child: AnimatedBuilder(
|
child: AnimatedBuilder(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user