Skip to content

Commit 2afc62c

Browse files
authored
Fix monaco editor scroll block in config map details (lensapp#7000)
* Do not block config map details scrolling Signed-off-by: Alex Andreev <[email protected]> * Fix linter Signed-off-by: Alex Andreev <[email protected]> Signed-off-by: Alex Andreev <[email protected]>
1 parent 7d271a7 commit 2afc62c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/core/src/renderer/components/+config-maps/config-map-details.tsx

+5
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ class NonInjectedConfigMapDetails extends React.Component<ConfigMapDetailsProps
113113
value={value}
114114
onChange={v => this.data.set(name, v)}
115115
setInitialHeight
116+
options={{
117+
scrollbar: {
118+
alwaysConsumeMouseWheel: false,
119+
},
120+
}}
116121
/>
117122
</div>
118123
))

0 commit comments

Comments
 (0)