trimble-oss / modus-web-components

This library provides Modus components as web components - reusable, encapsulated UI elements that are framework agnostic (can be implemented in any site).
https://modus-web-components.trimble.com/
MIT License
34 stars 70 forks source link

Table: Uneven width on row selection and row action column #1922

Open Akashmuthumanickam opened 11 months ago

Akashmuthumanickam commented 11 months ago

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

github-actions[bot] commented 11 months ago

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.

rthanga1 commented 10 months ago

@rthanga1 To talk to Muthu and understand the issue better

Akashmuthumanickam commented 10 months ago

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

rthanga1 commented 10 months ago

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

cjwinsor commented 5 months ago

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?