1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix monaco editor scroll block in config map details (#7000)

* Do not block config map details scrolling

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix linter

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2023-01-25 18:30:29 +03:00 committed by GitHub
parent 7d271a7b45
commit 2afc62c296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,6 +113,11 @@ class NonInjectedConfigMapDetails extends React.Component<ConfigMapDetailsProps
value={value}
onChange={v => this.data.set(name, v)}
setInitialHeight
options={{
scrollbar: {
alwaysConsumeMouseWheel: false,
},
}}
/>
</div>
))