mirror of
https://github.com/flutter/flutter
synced 2024-10-14 04:02:56 +00:00
Pesto: Prevent overscrolling on recipe page. (#5237)
BUG=https://github.com/flutter/flutter/issues/5098
This commit is contained in:
parent
4a8dbb0e13
commit
260cfcdb7b
|
@ -345,7 +345,9 @@ class _RecipePageState extends State<_RecipePage> {
|
|||
)
|
||||
)
|
||||
),
|
||||
new ScrollableViewport(
|
||||
new ClampOverscrolls(
|
||||
value: true,
|
||||
child: new ScrollableViewport(
|
||||
child: new RepaintBoundary(
|
||||
child: new Padding(
|
||||
padding: new EdgeInsets.only(top: appBarHeight),
|
||||
|
@ -370,6 +372,7 @@ class _RecipePageState extends State<_RecipePage> {
|
|||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue