mi6 / mi6/ic-ui-kit

Internal issue 3271 - Modal closure bug

Open
#4,623 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
53
Forks
63
Avg merge
2d 4h
Merged PRs (30d)
15

Description

When a modal is opened, the user is currently able to click outside of the modal, and then it will close. This is good UX.

 

However, if the user were to highlight text, and release the cursor outside the modal, the modal will still close. This is perhaps not ideal UX.

 

Expected behaviour: The modal should not close upon user dragging clicked cursor from inside the modal to outside.

 

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Start by locating the modal component and its outside-click handling, then reproduce the text-selection drag case. Done means ordinary outside clicks still close the modal, while dragging a selection from inside to outside does not close it.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
57/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.