[Search] "Lift on scroll" example from search documentation does not work
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- android
- Domain
- documentation, mobile
Research direction
Start with the last XML snippet in docs/components/Search.md and reproduce the lift-on-scroll example on Android API 36. Check why the scrolling view extends below the window instead of shrinking to fit, then verify that the corrected example keeps the app bar from scrolling off.
Written by the indexing model from the issue text.
Description
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.
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.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from material-components/material-components-android
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug Widget: Chip
Difficulty 1/5 Under an hour Newbie friendliness 72/100
material-components/material-components-android#5070 · 1 comment ·
-
bug Widget: TimePicker
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
All issues in material-components/material-components-android
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100