material-components / material-components/material-components-android
[BottomAppBar] app:hideOnScroll="true", BottomAppBar remain hidden in detail fragment (selected item) of recyclerview
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:** app:hideOnScroll="true" works fine in Recyclerview scroll. But when I
scroll the recyclerview until BottomAppBar become hidden and select an item of recyclerview and go to detail fragment (while BottomAppBar is hidden) then in Detail fragment `BottomAppBar` is also hidden. `performShow` or `slideUp` does nothing.
**Expected behavior:** I want the `BottomAppBar` become visible in selected item/detail fragment.
**Source code:**
```
```
**Android API version:** Device API 23 - Compile SDK version 33
**Material Library version:** 1.9.0
**Device:** 4.65 720p (Galaxy Nexus) API 23. (Android Studio Emulator)
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.
Research direction
Start with the supplied CoordinatorLayout XML, focusing on BottomAppBar, app:hideOnScroll, and HideBottomViewOnScrollBehavior; reproduce navigation from the scrolled RecyclerView to the detail fragment on the stated API 23 setup. Done means the BottomAppBar is visible in the detail fragment after it was hidden by scrolling, while the existing scroll-hide behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100