Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] iOS only BackdropFilter with ImageFilter blur is not applied to TypeAheadField #597

Open
mag2007 opened this issue Aug 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mag2007
Copy link

mag2007 commented Aug 5, 2024

Steps to reproduce

  1. Create an empty view with Typeahead Field in center.
  2. Create a navigation Drawer, which would have Backdrop Filter to apply blur to entire screen.
  3. Open drawer and see, the content is blurred out, but not the input field from typeahead.

Tested on iPhone 15 Pro with iOS 17.6 and latest flutter. Android works as expected.

Expected results

The TypeAhead Field should be blurred out as well as all other content.

Actual results

Content is blurred out but the input field is still visible without any blur.

Package Version

5.2.0

Platform

iOS

Code sample

Code sample
TypeAheadField(
                              itemBuilder: (BuildContext context, value) {
                                return Text("");
                              },
                              onSelected: (Object? value) {},
                              suggestionsCallback: (String search) {},
                            ),

GestureDetector(
            onTap: () => onClose(),
            child: BackdropFilter(
              filter: ImageFilter.blur(sigmaX: 16, sigmaY: 16),
              child: Container(
                color: const Color(0x00232220),
              ),
            ),
          ),

Logs

Logs
[Paste your logs here]

Screenshots or Video

Screenshots / Video demonstration [Upload media here]
@mag2007 mag2007 added the bug Something isn't working label Aug 5, 2024
@nirmal-kc
Copy link

Hi,

I am facing similar issue. Any suggestions? Find below the screenshot.

image

Regards,
Nirmal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants