nativescript-bottom-navigation icon indicating copy to clipboard operation
nativescript-bottom-navigation copied to clipboard

[FEATURE] Badge shouldn't be removed by default when selected

Open keerl opened this issue 5 years ago • 1 comments

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.

keerl avatar Oct 29 '19 13:10 keerl

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.

alexandruantonica avatar Nov 11 '19 20:11 alexandruantonica