primefaces / primevue

Next Generation Vue UI Component Library
https://primevue.org
MIT License
10.59k stars 1.23k forks source link

DataTable: Column resizing does not work with Vue 3.5 #6476

Closed eliaspanagiotidis closed 1 month ago

eliaspanagiotidis commented 1 month ago

Describe the bug

After upgrading to Vue 3.5, column resizing in case of columnResizeMode="expand" and resizableColumns stopped working as expected.

Reproducer

https://stackblitz.com/edit/b7jonc?file=package.json

PrimeVue version

4.0.7

Vue version

3.x

Language

ES6

Build / Runtime

Vue CLI App

Browser(s)

Chrome

Steps to reproduce the behavior

  1. Open the stackblitz (copied from documentation)
  2. Try to resize columns

Expected behavior

Consistent behavior with Vue 3.4 was expected.

Leshkens commented 1 month ago

@eliaspanagiotidis The same problem, but with columnResizeMode="fit". If you change this property to "fit" in your example, the resizing the columns will not work at all.

Leshkens commented 1 month ago

3.5.5 this is the latest vue version on which "fit" works and "expand" works correctly.

tugcekucukoglu commented 1 month ago

Please track: https://github.com/primefaces/primevue/issues/6014