-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Fix: Quick Add Issue form remains visible on outside click #7251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: preview
Are you sure you want to change the base?
Fix: Quick Add Issue form remains visible on outside click #7251
Conversation
WalkthroughThis update refactors several quick-add issue form components to use React's Changes
Sequence Diagram(s)sequenceDiagram
participant ParentComponent
participant QuickAddForm (forwardRef)
participant FormElement
ParentComponent->>QuickAddForm: Render with props and ref
QuickAddForm->>FormElement: Forward ref to <form>
ParentComponent->>QuickAddForm: Interact (e.g., submit, focus)
QuickAddForm->>FormElement: Ref enables direct DOM access
Possibly related issues
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (8)
💤 Files with no reviewable changes (1)
🔇 Additional comments (10)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
This merge request fixes a UI bug where the Quick Add Issue Form (used for creating new work items) remains visible when the user clicks outside of it. The expected behavior is for the form to automatically close when a click occurs outside its bounds, consistent with how the Escape key works.
Type of Change
Screenshots and Media (if applicable)
Before
Screen.Recording.2025-06-21.160043.mp4
After
Screen.Recording.2025-06-21.160043.mp4
References
Related Issue
Summary by CodeRabbit