nativescript-bottom-navigation
nativescript-bottom-navigation copied to clipboard
[FEATURE] Badge shouldn't be removed by default when selected
Currently if you have a tab with a badge enabled it will be removed once you select that tab. I personally think this shouldn't be default behavior and depends entirely on the use case of the app. The user may need to go to that tab then complete another action before the badge can be cleared. That is the case I am in now, and I have to add additional functionality to listen to when that tab is pressed and quickly re-enable the badge that was just removed.
I agree with @keerl.
The badge
could mean either unread
or unseen
.
The default functionality is for unseen
elements but if you want to implement an unread
functionality, removing the badge on the select tab doesn't help you at all. You might have to do another action (tap on an element) to unread
an element and then change the badge.