komarovalexander / ka-table

Lightweight MIT React Table component with Sorting, Filtering, Grouping, Virtualization, Editing and many more
http://ka-table.com
MIT License
769 stars 56 forks source link

Header Filter Popup Mispositioned with Horizontal Scrolling Table #372

Closed sergeylin closed 8 months ago

sergeylin commented 8 months ago

Hi,

I found a problem with the header filter popup when using a table with horizontal scrolling. The popup shows up in the wrong spot, outside the table area. It seems like we can't control its position using the table props or other functions.

Screenshot 2024-01-17 at 9 16 01 PM

Can you help fix this?

Example of the bug: https://stackblitz.com/edit/table-header-filter-ts-d7dwnl?file=Demo.tsx

Thanks.

komarovalexander commented 8 months ago

Hi @sergeylin thanks for provided example.

fixed in v8.7.2 https://stackblitz.com/edit/table-header-filter-ts-gnoddg?file=Demo.tsx