mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-13 19:46:16 +03:00
fix(app): allow touch scrolling in directory picker (#51781)
Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
da20865bb9
commit
2eff7da1b6
@@ -389,6 +389,8 @@ export function DirectoryPickerDialog(props: DirectoryPickerDialogProps) {
|
||||
<div
|
||||
class="directory-picker-browser"
|
||||
ref={container}
|
||||
// The modal's scroll lock sees only the shadow host, not the tree's inner scroller.
|
||||
on:touchmove={(event) => event.stopPropagation()}
|
||||
onWheel={(event) => {
|
||||
const scroller = tree
|
||||
?.getFileTreeContainer()
|
||||
|
||||
Reference in New Issue
Block a user