You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TopItemCount '0' value is ignored.
I'm updating topItemCount property dynamically depends on some conditions. When I provide any positive number it is working as expected (top items displayed), however zero is ignored (top items stay on previous value).
I believe zero should be acceptable value in order to remove top items if they were displaying at start.
Describe the bug
TopItemCount '0' value is ignored.
I'm updating topItemCount property dynamically depends on some conditions. When I provide any positive number it is working as expected (top items displayed), however zero is ignored (top items stay on previous value).
I believe zero should be acceptable value in order to remove top items if they were displaying at start.
Reproduction
CodePen link for reproduction
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When providing zero as a topItemCount value top items should disappear.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: