aurelhubert / aurelhubert/ahbottomnavigation
Notification Badge Removal - Number removed first and then disappears
- Dominant language
- Java
- Stars
- 3.8k
- Forks
- 672
- PR merge metrics
- No merged PRs in 30d
Description
As far as I know the only way to remove a badge is to pass in null:
bottom_navigation.setNotification(null, position)
The problem is the UI looks pretty bad in this case. The number disappears but the circle remains. And then the circle disappears. It looks pretty hacky, is there any way to make the badge disappear first?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the notification-removal behavior through bottom_navigation.setNotification(null, position). Trace the badge removal entry point and verify that the circle disappears without first showing an empty or delayed badge; the issue is done when removal appears as a single smooth transition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100