Skip to content

Commit

Permalink
don't always consume mouse wheel (microsoft#213383)
Browse files Browse the repository at this point in the history
for chat widget (list) and for chat input editor (actually all simple editor cases)
  • Loading branch information
jrieken authored and andremmsilva committed May 26, 2024
1 parent 5535c05 commit 5f6d740
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/vs/workbench/contrib/chat/browser/chatWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ export class ChatWidget extends Disposable implements IChatWidget {
{
identityProvider: { getId: (e: ChatTreeItem) => e.id },
horizontalScrolling: false,
alwaysConsumeMouseWheel: false,
supportDynamicHeights: true,
hideTwistiesOfChildlessElements: true,
accessibilityProvider: this.instantiationService.createInstance(ChatAccessibilityProvider),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ export function getSimpleEditorOptions(configurationService: IConfigurationServi
hideCursorInOverviewRuler: true,
selectionHighlight: false,
scrollbar: {
horizontal: 'hidden'
horizontal: 'hidden',
alwaysConsumeMouseWheel: false
},
lineDecorationsWidth: 0,
overviewRulerBorder: false,
Expand Down

0 comments on commit 5f6d740

Please sign in to comment.