improvement: prevent dropdown menu from closing on settings selection#304
Merged
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom Dec 22, 2025
improvement/prevent-dropdown-close-on-settingsbreaking-brake/cc-wf-studio:improvement/prevent-dropdown-close-on-settingsCopy head branch name to clipboard
Merged
improvement: prevent dropdown menu from closing on settings selection#304breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom improvement/prevent-dropdown-close-on-settingsbreaking-brake/cc-wf-studio:improvement/prevent-dropdown-close-on-settingsCopy head branch name to clipboard
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
improvement/prevent-dropdown-close-on-settingsbreaking-brake/cc-wf-studio:improvement/prevent-dropdown-close-on-settingsCopy head branch name to clipboard
Conversation
- Add event.preventDefault() to Model submenu RadioItems - Add event.preventDefault() to Timeout submenu RadioItems - Add event.preventDefault() to Reset to Default button
Merged
github-actions Bot
added a commit
that referenced
this pull request
Dec 22, 2025
## [3.8.5](v3.8.4...v3.8.5) (2025-12-22) ### Bug Fixes * remove BM25 codebase indexing feature ([#303](#303)) ([7a5878d](7a5878d)) * remove unused timeout setting and enable proper AI cancellation ([#305](#305)) ([666a231](666a231)) ### Improvements * prevent dropdown menu from closing on settings selection ([#304](#304)) ([544cc42](544cc42))
Contributor
|
🎉 This PR is included in version 3.8.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
In the AI editing settings dropdown menu, clicking on Model, Timeout, or Allowed Tools submenu items closes the dropdown menu immediately after selection.
Current Behavior
Expected Behavior
Solution
Add
event.preventDefault()to prevent default menu closing behavior on selection.Changes
File:
src/webview/src/components/chat/SettingsDropdown.tsxevent.preventDefault()to Model submenu RadioItemsevent.preventDefault()to Timeout submenu RadioItemsevent.preventDefault()to Reset to Default buttonImpact
Testing
npm run format && npm run lint && npm run check)npm run build)🤖 Generated with Claude Code