Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

StatusChatListCategory menu button breaks when no popup menu is provided #153

Closed
0x-r4bbit opened this issue Jun 15, 2021 · 0 comments
Closed

Comments

@0x-r4bbit
Copy link
Member

This is something that came up while building #133

Even though, this might not necessarily happen in practice, when a StatusChatListCategory is used and doesn't have a popupMenu for it's menuButton, the underlying StatusChatListCategoryItem breaks the menu button's state and also throws and error, because it tries to open a popup menu regardless.

The solution here is to either return early in the menu button trigger when there's no popup menu, or allow to individually hide the menu button (notice that the add button isn't affected by this), similar to #152

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant