Skip to content

RawAutocomplete._updateOptionsViewVisibility() x _zOrderIndex != null #182267

Description

@jpohhhh

Steps to reproduce

  1. Create a widget using RawAutocomplete like https://gist.github.com/jpohhhh/a4162216e663e5f009604934a342d631
  2. Write a widget test like https://gist.github.com/jpohhhh/84f52cb84290f572eb32adf65d6feae1
  3. Upgrade to Flutter 3.41.

Expected results

Test passes after upgrade, like before upgrade.

Actual results

Test fails.

Code sample

Widget gist
Test gist

Screenshots or Video

Logs

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.41.0, on macOS 15.7.1 24G231 darwin-arm64, locale en-US) [181ms]
    • Flutter version 3.41.0 on channel stable at /Users/jpo/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 44a626f4f0 (30 hours ago), 2026-02-10 10:16:12 -0800
    • Engine revision 3452d735bd
    • Dart version 3.11.0
    • DevTools version 2.54.1
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration

[!] Android toolchain - develop for Android devices (Android SDK version 35.0.1) [742ms]
    • Android SDK at /Users/jpo/Library/Android/sdk
    • Emulator version 35.5.10.0 (build_id 13402964) (CL:N/A)
    ✗ Flutter requires Android SDK 36 and the Android BuildTools 28.0.3
      To update the Android SDK visit https://flutter.dev/to/macos-android-setup for detailed instructions.
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 26.0.1) [432ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 17A400
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [3ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Connected device (3 available) [5.6s]
    • James’s iPhone (wireless) (mobile) • 00008150-001A31C43EC0401C • ios            • iOS 26.2.1 23C71
    • macOS (desktop)                    • macos                     • darwin-arm64   • macOS 15.7.1 24G231 darwin-arm64
    • Chrome (web)                       • chrome                    • web-javascript • Google Chrome 144.0.7559.111

[✓] Network resources [329ms]
    • All expected network resources are available.

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: regressionIt was better in the past than it is nowfyi-text-inputFor the attention of Text Input teamhas reproducible stepsThe issue has been confirmed reproducible and is ready to work onteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions