Skip to content
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: Misalignment with 3+ Frozen Columns when scrolling horizontally #7573

Open
iantrudell opened this issue Jan 6, 2025 · 2 comments
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@iantrudell
Copy link

Describe the bug

In the last few versions of the PrimeReact DataTable, having 3 or more "frozen" columns results in the 3rd column being "frozen" in the incorrect location (bad left: value).

See the reproducer.

Reproducer

https://stackblitz.com/edit/vitejs-vite-vkptaeae?file=src%2FApp.tsx

System Information

System:
    OS: Windows 10 10.0.19045
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
    Memory: 26.46 GB / 63.64 GB
  Binaries:
    Node: 20.15.1 - C:\Program Files\nodejs\node.EXE  
    npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD     
    bun: 1.1.38 - ~\.bun\bin\bun.EXE
  Browsers:
    Edge: Chromium (131.0.2903.63)
    Internet Explorer: 11.0.19041.4355
  npmPackages:
    primereact: ^10.9.1 => 10.9.1
    react: ^18.3.1 => 18.3.1

Steps to reproduce the behavior

Add enough columns to make the DataTable horizontally scrollable
Add "scrollable" to the DataTable
Add "frozen" to the first three columns

Expected behavior

Proper alignment of the 3rd column when you scroll horiztonally

@iantrudell iantrudell added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 6, 2025
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 6, 2025
@Mikeez
Copy link

Mikeez commented Jan 9, 2025

Also facing the same exact issue.

@melloware
Copy link
Member

we will have to test after next release I think it might be fixed with this fix: #7545

@melloware melloware added this to the 10.9.2 milestone Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

3 participants