Closed
Description
Hi,
When trying to implement a floating SliverAppBar
in conjunction with a WebView
Flutter drops a significant amount of frames.
It seems like the WebView is resizing itself whenever the SliverAppBar
is scrolled out of view.
@override
Widget build(BuildContext context) {
return CustomScrollView(
slivers: <Widget>[
SliverAppBar(
title: const Text("Heading"),
floating: true,
),
SliverFillRemaining(
child: WebView(initialUrl: "http://stackoverflow.com"),
)
],
);
}
As seen on this GIF:
Metadata
Metadata
Assignees
Labels
High-priority issues at the top of the work listRepeatedly frustrating issues with non-experimental functionalityEmbedding Android/iOS views in Flutter appsRelates to speed or footprint issues (see "perf:" labels)flutter/engine repository. See also e: labels.Found to occur in 1.20The issue has been confirmed reproducible and is ready to work onThe WebView pluginflutter/packages repository. See also p: labels.A fix is in flight