material-components / material-components/material-components-android
[Catalog][BottomSheet] foreground color of status bar changes if bottom sheet is opened multiple times
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:** The foreground color of the status bar changes if the bottom sheet is opened multiple times.
(first time)

(second time)

**Expected behavior:** The foreground color of the status bar doesn't change even if the bottom sheet is opened multiple times. I think it's better to use BottomSheetDialogFragment... (#3600)
**Minimal sample app repro:** Catalog app
**Android API version:** 34
**Material Library version:** 1.12.0-alpha02
**Device:** Emulator 32.1.15 (API 32)
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
Reproduce the issue in the Catalog app on the reported Android API and inspect the BottomSheet opening lifecycle, especially how the status bar foreground color is handled across repeated opens. Done means repeated openings leave the status bar foreground color unchanged; no specific source file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100