Change scrolling screend delay from 1000ms to 100ms.
This commit is contained in:
@@ -365,7 +365,7 @@ class EnsureVisibleWhenFocusedState extends State<EnsureVisibleWhenFocused> {
|
|||||||
// TODO: position doesn't seem to notify listeners when metrics change,
|
// TODO: position doesn't seem to notify listeners when metrics change,
|
||||||
// perhaps a NotificationListener around the scrollable could avoid
|
// perhaps a NotificationListener around the scrollable could avoid
|
||||||
// the need insert a delay here.
|
// the need insert a delay here.
|
||||||
await new Future.delayed(const Duration(milliseconds: 1000));
|
await new Future.delayed(const Duration(milliseconds: 100));
|
||||||
|
|
||||||
if (!widget.focusNode.hasFocus)
|
if (!widget.focusNode.hasFocus)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user