Skip to content

SearchAnchor doesn't work if app layout changes #125073

@QuncCccccc

Description

@QuncCccccc

Is there an existing issue for this?

Steps to reproduce

  1. Open M3 demo website and find the search bar.
  2. Tap the search bar to open the search view and keep it open.
  3. Change the original 2-column layout to 1 column. (If originally it's one column, then change it to two columns).
  4. Click back button.

Expected results

The search view route should either be popped when window size changes or when we click back button.

Actual results

The search view route doesn't pop.

Use https://flutter-experimental-m3-demo.web.app/#/ to reproduce.

crash_demo.mov

Metadata

Metadata

Assignees

Labels

f: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions