-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataTable column width increases by content limitlessly #1573
Comments
Hi, I couldn't replicate this issue. Could you please attach a codesanbox link for us to replicate? |
This codesandbox uses PrimeVue 3.7.2: If you edit package.json and change dependencies.primevue to "3.7.1", you'll get the original and desired result. |
Seems like a regression, we'll see if there is anything we can do. min-width should stay though. |
Current solution with 3.8.2 is tableStyle="width:100%" |
Could you please try to use the latest PrimeVue version? If the problem still persists, please create a new issue with a reproducer link. |
Due to the fixes of #1508 and #1521, you made a change in DataTable.vue from
to
This change leads to columns, whose width will increase by their content limitlessly:
The former definition gave each column the same width, despite of their content:
PrimeVue: 3.7.2
Vue: 3.2.11
The text was updated successfully, but these errors were encountered: