Closing PopUpMenu

Hallo,

I use the Widget PopUpMenu like this:

<PopUpMenu key={key} icon={<Icon>more_vert</Icon>}> {items} </PopUpMenu>;

with “items” as array of Buttons.
Now I have the problem, that the menu doesn’t close after clicking on an item. If I scroll the page as far up or down that the popup isn’t seen anymore and scroll back, the popup is closed. Do I have to do anything special in the onClick-function to tell the PopUpMenu, that it should close?

Best regards,
Nora

Hi Nora. I cannot reproduce that within widget showcase. Can you show code of {items}? It may have some conflicted click events in your application.