-
Notifications
You must be signed in to change notification settings - Fork 646
Closed
Labels
Description
Description
If loadingCounters is true and an UnderlineNav.Item does not have a counter prop, the loading indicator is shown. Normally, if there are 10 items, if 1 or 2 of them do not have a counter prop, it does not pose a problem. But if there are no counters in 5 of them, it is not a nice view.
loadingCounters: true:
Steps to reproduce
Sample view:
<UnderlineNav aria-label="Repository" loadingCounters={true}>
<UnderlineNav.Item>Inspect</UnderlineNav.Item>
<UnderlineNav.Item counter={0}>Resources</UnderlineNav.Item>
<UnderlineNav.Item counter={0}>Packages</UnderlineNav.Item>
<UnderlineNav.Item>Code</UnderlineNav.Item>
<UnderlineNav.Item>Docs</UnderlineNav.Item>
<UnderlineNav.Item>Debug</UnderlineNav.Item>
</UnderlineNav>Version
36.7.1
Browser
No response

