PersistentBottomSheet中的WebView无法检测到垂直滚动

时间:2019-06-13 11:46:49

标签: flutter

WebView不会在PersistentBottomSheetController内部检测到垂直滚动,因为它使用向下滚动来关闭底部工作表。

我在PersistentBottomSheetController内使用ListView没问题。 ListView可以正确检测滚动并且底页不动。

WebView会显示并正确覆盖整个空间,单击可以正常工作,但不能滚动。向上滚动不执行任何操作,向下滚动则关闭底部工作表。

请注意,我正在使用:

Function GetRandomNumber(ByVal low As Double, high As Double) As Double
    Static rng As New Random

    Return (rng.NextDouble() * (high - low)) + low
End Function
gestureRecognizers: Set()
..add(Factory<VerticalDragGestureRecognizer>(
                                        () => VerticalDragGestureRecognizer()))

0 个答案:

没有答案
相关问题