[feature]: Modal shouldn't get closed when clicked outside while creating an issue
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 59.6k
- Forks
- 5.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 49
Description
Is there an existing issue for this?
- I have searched the existing issues
Summary
When we are creating an issue modal shouldn't get closed if clicked outside (backdrop). It should get only closed on if user clicks on discard button
Why should this be worked on?
When user is creating issue and writing length descriptions or in a mid of writing description, clicking outside by mistake everything is lost and irritates them.
Closing modal by clicking outside makes lot's of sense but not in this scenario.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating the issue-creation modal in the TypeScript/React frontend and reproduce the backdrop-click behavior; trace how the discard action closes it. Done means clicking outside preserves the in-progress issue while the discard button still closes the modal, with the relevant frontend tests passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100