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

TreeTable: Using Mouse Wheel over frozen columns does not scroll the table #7592

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

Comments

@iantrudell
Copy link

Describe the bug

If you use your mouse wheel while hovering over a normal row, it scrolls the table. However, when you mouse wheel while hovering over a "frozen" column, it will scroll the page instead.

It should scroll the table if your mouse is hovering over any row/column, frozen or not, within the table

Reproducer

https://primereact.org/treetable/#frozen_columns

System Information

System:
    OS: Windows 10 10.0.19045
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
    Memory: 29.18 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

Hover over a frozen column within a data row, try and mouse wheel up or down to scroll the table

Expected behavior

Table scrolls with mousewheel on frozen columns within a row

@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 10, 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 10, 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

2 participants