table icon indicating copy to clipboard operation
table copied to clipboard

Columns no longer resizable when table overflow occurs

Open marizf888 opened this issue 1 year ago • 1 comments

TanStack Table version

v8.11.3

Framework/Library version

React v18

Describe the bug and the steps to reproduce it

  1. Add more columns to a table (with column resizing enabled) until overflow occurs
  2. Try to resize a table column. You will notice it is no longer possible

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

N/A

Screenshots or Videos (Optional)

Screen Recording 2024-03-04 at 9.36.30 AM.zip

Do you intend to try to help solve this bug with your own PR?

No, because I do not know how

Terms & Code of Conduct

  • [X] I agree to follow this project's Code of Conduct
  • [X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

marizf888 avatar Mar 04 '24 17:03 marizf888

I had this issue and added minWidth to the th element but that now pushes the table beyond the width of it's parent, even though overflow-auto is on

Does this happen for you too if you try adding it?

danverbs avatar May 01 '24 11:05 danverbs

no sandobox or code that you shared, but guessing you just don't have overflow: 'auto' on the table container element.

KevinVandy avatar Jun 30 '24 17:06 KevinVandy