Skip to content

[Search] "Lift on scroll" example from search documentation does not work #5090

Description

@danielkeller

Description: The lift-on-scroll example in the SearchBar documentation causes the scrolling view to extend below the window. On a phone this causes the app bar to scroll off instead of lifting.

Image

Expected behavior: It should shrink to fit the window. This happens if I replace the SearchBar with a MaterialToolbar.

Source code: The last xml snippet in docs/components/Search.md.

Android API version: 36

Material Library version: 1.14.0

Device: Android studio, Fairphone 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions