Closed AlexDochioiu closed 1 month ago
👋 @AlexDochioiu
NOTE: This comment is auto-generated.
Are you sure you have already searched for the same problem?
Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem!
If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue.
In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding android WebView [MY ERROR HERE]
or ios WKWebView [MY ERROR HERE]
keywords.
Following these steps can save you, me, and other people a lot of time, thanks!
@pichillilorenzo Seems that the issue is related to the hybrid composition changes introduced in beta.6. I expect it's got to do with hybridComposition using initExpensiveAndroidView
starting with that version.
P.S. disabling hybrid composition makes the backdrop filter work again starting with beta.6
.
@AlexDochioiu thanks, so the problem is related to how Flutter Hybrid Composition currently works. Unfortunately, that's a bug of Flutter itself and not of this plugin. I think you should open an issue on the official Flutter repository related to this bug.
So, currently, if the backdrop filter is a MUST for you, you should disable hybrid composition as a workaround.
I had the same problem but resolved with this commit on flutter engine which put the platform views behind the backdrop and released with Flutter 3.10 on stable channel.
This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it.
Same here, I am developing a windows 11 clone. Lots of UI components have blur backdrop filter, but when InAppWebView appears on screen, all the backdrop filter blur disappears.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.
Environment
Device information: Xiaomi Redmin Note 11 Pro
Description
Starting with version
6.0.0-beta.6
up to6.0.0-beta.12
(6.0.0-beta.5
works well), there seem to be issues drawing a blur (BackdropFilter) on Android when a WebView is present. Somehow the blur doesn't apply at all (outside of the webview as well) starting with that version.Expected behavior: Blur over the whole screen should still work
Current behavior: There is no blur at all anywhere on the screen starting with the mentioned version
Steps to reproduce
My exact scenario, is drawing a bottom sheet with a blurred overlay. What I am using is:
Code to draw the bottom sheet with a blurred barrier:
In app web view code with the settings:
Working version: 6.0.0-beta.5
Not working version: 6.0.0-beta.6