modus-web-components icon indicating copy to clipboard operation
modus-web-components copied to clipboard

Table: Uneven width on row selection and row action column

Open Akashmuthumanickam opened this issue 2 years ago • 6 comments

Prerequisites

Describe the issue

There is no fixed width on the row selection and row action column and unable to fix the custom width in the case of enabling full width. @msankaran0712 @enowak1031 @rthanga1 image

Reduced test cases

No response

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

What is the issue regarding ?

@trimble-oss/modus-web-components

What version of npm package are you using ?

No response

Priority

High

What product/project are you using Modus Components for ?

Flux - Connect web extensions

What is your team/division name ?

CPD

Are you willing to contribute ?

Yes

Are you using Modus Web Components in production ?

No response

Akashmuthumanickam avatar Dec 01 '23 06:12 Akashmuthumanickam

Hello @Akashmuthumanickam! Thanks for opening an issue. The Modus core team will get back to you soon (usually within 24-hours) and provide guidance on how to proceed. Contributors are welcome to participate in the discussion and provide their input on how to best solve the issue, and even submit a PR if they want to.

Please wait until the issue is ready to be worked on before submitting a PR, or you can reach out to the core team if it is time bound. For trivial things, or bugs that don't change the expected behaviors and UI, you can go ahead and make a PR.

github-actions[bot] avatar Dec 01 '23 06:12 github-actions[bot]

@rthanga1 To talk to Muthu and understand the issue better

rthanga1 avatar Dec 18 '23 14:12 rthanga1

Hi @rthanga1, We can discuss this and any associated tickets that I have submitted.

Akashmuthumanickam avatar Dec 19 '23 10:12 Akashmuthumanickam

Even when the flexi-width option is provided, the checkbox and the action column should not take up so much space

rthanga1 avatar Dec 19 '23 10:12 rthanga1

Tanstack table seems to set a default width even when we don't set a width to the column, causing this behavior. Is there a way to have tanstack table not default the width and what does it break if we do so? Resize?

cjwinsor avatar May 09 '24 14:05 cjwinsor

The issue is not reproducible now, hence closing this. Screenshot for ref:

Image

Kavin-Trimble avatar Feb 06 '25 12:02 Kavin-Trimble