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

Issue with Data Table Editable Cells and Single Selection Mode #6780

Open
Vseslavr opened this issue Jun 21, 2024 · 0 comments
Open

Issue with Data Table Editable Cells and Single Selection Mode #6780

Vseslavr opened this issue Jun 21, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@Vseslavr
Copy link

Describe the bug

When editing a cell in the data table and attempting to change the status using the dropdown menu, using the keyboard arrow keys (up and down) to navigate through the dropdown options results in navigating through the data table rows instead.

Reproducer

https://stackblitz.com/edit/ljsz8r?file=src%2FApp.jsx

PrimeReact version

10.6.6

React version

18.x

Language

ALL

Build / Runtime

Next.js

Browser(s)

Chrome 126

Steps to reproduce the behavior

  1. Open the data table with editable cells and single selection mode enabled.
  2. Click on the “Status” cell to activate the dropdown menu.
  3. Attempt to navigate through the dropdown options using the keyboard up and down arrow keys.

Expected behavior

When the dropdown menu is open, the up and down arrow keys should navigate through the options within the dropdown menu.

Actual Behavior:
Instead of navigating through the dropdown options, the up and down arrow keys cause navigation through the rows of the data table.

@Vseslavr Vseslavr added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant