Skip to content

[iOS] Entire PlatformView (WebView) become blurred when using ImageFilter.blur  #113508

@b3nni97

Description

@b3nni97

Steps to Reproduce

  1. Execute flutter run on the code sample

Expected results: Only the rect behind the CupertinoNavigationBar should be blurred.

Actual results: The entire WebView is blurred

Code sample
void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const CupertinoApp(
      home: CupertinoPageScaffold(
        navigationBar: CupertinoNavigationBar(),
        child: WebView(
          initialUrl: 'https://flutter.dev',
        ),
      ),
    );
  }
}


Logs
Flutter (Channel master, 3.5.0-6.0.pre.15, on macOS 12.6 21G115 darwin-arm64, locale de-DE)

IMG_FD5EDEEB213F-1_31

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: platform-viewsEmbedding Android/iOS views in Flutter appsc: regressionIt was better in the past than it is nowfound in release: 3.5Found to occur in 3.5has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions