diff --git a/.changeset/cyan-owls-juggle.md b/.changeset/cyan-owls-juggle.md new file mode 100644 index 0000000000..a9dd3f1837 --- /dev/null +++ b/.changeset/cyan-owls-juggle.md @@ -0,0 +1,5 @@ +--- +"roo-cline": patch +--- + +Fix SettingsView scrolling in VSCode editor tab diff --git a/webview-ui/src/components/settings/SettingsView.tsx b/webview-ui/src/components/settings/SettingsView.tsx index 7f6178fa6c..f7c7df45fb 100644 --- a/webview-ui/src/components/settings/SettingsView.tsx +++ b/webview-ui/src/components/settings/SettingsView.tsx @@ -338,24 +338,13 @@ const SettingsView = forwardRef(({ onDone }, { - const container = e.currentTarget - container.scrollTop += e.deltaY }} + onWheel={(e) => (e.currentTarget.scrollTop += e.deltaY)} onScroll={handleScroll}>