Internal issue 3244 - IcPopoverMenu automatically exits on mouse up outside of display
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 63
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 15
Description
Reproduction steps:
- Enter an IcPopoverMenu
- Click inside the modal
- Release click outside of the modal
- Observe that the modal closes
This can be unexpected for a user e.g. when a user tries to highlight text and releases the mouse outside of the modal, the modal disappears.
**Expected behaviour:**
Releasing click outside the modal should neither close the modal nor activate the menu item clicked
Please include a Cypress test to ensure the fix functions as expected
Contributor guide
Research direction
Start by locating the IcPopoverMenu implementation and identify where its Cypress tests belong. Reproduce the mouse-up sequence, then verify that releasing outside leaves the modal open and does not activate a menu item, with a Cypress test covering the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cypress, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100