Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(filter-ui): support mouse wheel scroll behaviour on desktop and mobile (#5346)

marliessophie1efb37f3c16f
diff --git a/web/src/features/filters/components/filter-builder.tsx b/web/src/features/filters/components/filter-builder.tsx
index f3555aab45..ee07cfef11 100644
--- a/web/src/features/filters/components/filter-builder.tsx
+++ b/web/src/features/filters/components/filter-builder.tsx
@@ -303,7 +303,15 @@ function FilterBuilderForm({
<ChevronDown className="h-4 w-4 opacity-50" />
</Button>
</PopoverTrigger>
- <PopoverContent className="max-w-fit p-0">
+ <PopoverContent
+ className="max-w-fit p-0"
+ onWheel={(e) => {
+ e.stopPropagation();
+ }}
+ onTouchMove={(e) => {
+ e.stopPropagation();
+ }}
+ >
<InputCommand>
<InputCommandInput
placeholder="Search for column"