When clicking on a menu item which closes ic-popover-menu, the icPopoverClosed event is not triggered. Once the React code snippet has been updated, this event will be used to update state
If relevant, describe in full detail the different interactions and edge cases that the component or patterns needs to fulfil.
Given that the popover menu is openWhen I click the find menu item and then click the top nav button in the top right Then the popover menu should appear again
Additional info
A console log has been added to icPopoverClosed to demonstrate that the event is not being called.
Summary of the bug
When clicking on a menu item which closes
ic-popover-menu
, theicPopoverClosed
event is not triggered. Once the React code snippet has been updated, this event will be used to update state🪜 How to reproduce
Tell us the steps to reproduce the problem:
📸 Screenshots or code
View StackBlitz
🖥 📱 Device
🧐 Expected behaviour
The menu should open
📝 Acceptance Criteria
If relevant, describe in full detail the different interactions and edge cases that the component or patterns needs to fulfil.
Given that the popover menu is open When I click the find menu item and then click the top nav button in the top right
Then the popover menu should appear again
Additional info
A console log has been added to
icPopoverClosed
to demonstrate that the event is not being called.