File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,9 @@ export class ParameterHintsWidget extends Disposable implements IContentWidget {
102
102
} ) ) ;
103
103
104
104
const body = $ ( '.body' ) ;
105
- const scrollbar = new DomScrollableElement ( body , { } ) ;
105
+ const scrollbar = new DomScrollableElement ( body , {
106
+ alwaysConsumeMouseWheel : true ,
107
+ } ) ;
106
108
this . _register ( scrollbar ) ;
107
109
wrapper . appendChild ( scrollbar . getDomNode ( ) ) ;
108
110
Original file line number Diff line number Diff line change @@ -55,7 +55,9 @@ export class SuggestDetailsWidget {
55
55
56
56
this . _body = dom . $ ( '.body' ) ;
57
57
58
- this . _scrollbar = new DomScrollableElement ( this . _body , { } ) ;
58
+ this . _scrollbar = new DomScrollableElement ( this . _body , {
59
+ alwaysConsumeMouseWheel : true ,
60
+ } ) ;
59
61
dom . append ( this . domNode , this . _scrollbar . getDomNode ( ) ) ;
60
62
this . _disposables . add ( this . _scrollbar ) ;
61
63
You can’t perform that action at this time.
0 commit comments