mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 13:05:25 +02:00
fix: improve filter popover positioning and reliability across all views
This commit is contained in:
@@ -326,6 +326,7 @@ export function ProductDescriptions({ data, headers, asinColumnIndex, onEdit, ro
|
||||
)}
|
||||
</span>
|
||||
<button
|
||||
id={`desc-filter-trigger-${col}`}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
setOpenFilterCol(openFilterCol === col ? null : col);
|
||||
@@ -347,6 +348,7 @@ export function ProductDescriptions({ data, headers, asinColumnIndex, onEdit, ro
|
||||
|
||||
{openFilterCol === col && (
|
||||
<ColumnFilterPopover
|
||||
triggerId={`desc-filter-trigger-${col}`}
|
||||
uniqueValues={getUniqueValues(col)}
|
||||
selectedValues={columnFilters[col] || []}
|
||||
onToggle={(val) => toggleColumnFilter(col, val)}
|
||||
|
||||
Reference in New Issue
Block a user