@@ -242,7 +242,7 @@ export function DataTableFilterList<TData>({
242242 < PopoverContent
243243 aria-describedby = { descriptionId }
244244 aria-labelledby = { labelId }
245- className = "flex w-full max-w-[var (--radix-popover-content-available-width)] origin-[var(--radix-popover-content-transform-origin)] flex-col gap-3.5 p-4 sm:min-w-[380px]"
245+ className = "flex w-full max-w-(--radix-popover-content-available-width) flex-col gap-3.5 p-4 sm:min-w-[380px]"
246246 { ...props }
247247 >
248248 < div className = "flex flex-col gap-1" >
@@ -402,7 +402,7 @@ function DataTableFilterItem<TData>({
402402 < SelectTrigger
403403 aria-label = "Select join operator"
404404 aria-controls = { joinOperatorListboxId }
405- className = "h-8 rounded lowercase [&[ data-size]] :h-8"
405+ className = "h-8 rounded lowercase data-size:h-8"
406406 >
407407 < SelectValue placeholder = { joinOperator } />
408408 </ SelectTrigger >
@@ -442,7 +442,7 @@ function DataTableFilterItem<TData>({
442442 < PopoverContent
443443 id = { fieldListboxId }
444444 align = "start"
445- className = "w-40 origin-[var(--radix-popover-content-transform-origin)] p-0"
445+ className = "w-40 p-0"
446446 >
447447 < Command >
448448 < CommandInput placeholder = "Search fields..." />
@@ -498,16 +498,13 @@ function DataTableFilterItem<TData>({
498498 >
499499 < SelectTrigger
500500 aria-controls = { operatorListboxId }
501- className = "h-8 w-32 rounded lowercase [&[ data-size]] :h-8"
501+ className = "h-8 w-32 rounded lowercase data-size:h-8"
502502 >
503503 < div className = "truncate" >
504504 < SelectValue placeholder = { filter . operator } />
505505 </ div >
506506 </ SelectTrigger >
507- < SelectContent
508- id = { operatorListboxId }
509- className = "origin-[var(--radix-select-content-transform-origin)]"
510- >
507+ < SelectContent id = { operatorListboxId } >
511508 { filterOperators . map ( ( operator ) => (
512509 < SelectItem
513510 key = { operator . value }
@@ -645,7 +642,7 @@ function onFilterInputRender<TData>({
645642 id = { inputId }
646643 aria-controls = { inputListboxId }
647644 aria-label = { `${ columnMeta ?. label } boolean filter` }
648- className = "h-8 w-full rounded [&[ data-size]] :h-8"
645+ className = "h-8 w-full rounded data-size:h-8"
649646 >
650647 < SelectValue placeholder = { filter . value ? "True" : "False" } />
651648 </ SelectTrigger >
@@ -700,10 +697,7 @@ function onFilterInputRender<TData>({
700697 />
701698 </ Button >
702699 </ FacetedTrigger >
703- < FacetedContent
704- id = { inputListboxId }
705- className = "w-[200px] origin-[var(--radix-popover-content-transform-origin)]"
706- >
700+ < FacetedContent id = { inputListboxId } className = "w-[200px]" >
707701 < FacetedInput
708702 aria-label = { `Search ${ columnMeta ?. label } options` }
709703 placeholder = { columnMeta ?. placeholder ?? "Search options..." }
@@ -767,7 +761,7 @@ function onFilterInputRender<TData>({
767761 < PopoverContent
768762 id = { inputListboxId }
769763 align = "start"
770- className = "w-auto origin-[var(--radix-popover-content-transform-origin)] p-0"
764+ className = "w-auto p-0"
771765 >
772766 { filter . operator === "isBetween" ? (
773767 < Calendar
0 commit comments