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: double clicking on cell with button selecting text in next row's next cell (chrome only) #7723

Open
vytya opened this issue Feb 20, 2025 · 1 comment
Labels
Type: Bug Issue contains a defect related to a specific component.

Comments

@vytya
Copy link

vytya commented Feb 20, 2025

Describe the bug

If there is a button inside of the table's cell and if you do double-click on it (not on a button) then text in the next row's cell will be selected.
Reproducable in one of yours demo https://primereact.org/datatable/#row_edit
Screen video https://www.youtube.com/watch?v=DeIX1iAWrjM

It's definitely not a critical and can be ignored. Maybe it's even a chrome issue. Just weird behavior.

Reproducer

https://vqsppp9b.stackblitz.io

System Information

system: win11
browser: chrome
primereact: 10.9.1

Steps to reproduce the behavior

  1. Go to https://vqsppp9b.stackblitz.io in chrome
  2. Double click on button's container cell

Expected behavior

No text is selected

@vytya vytya added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 20, 2025
@vytya
Copy link
Author

vytya commented Feb 20, 2025

Maybe not chrome's related. Created simple demo https://codepen.io/vytya/pen/RwXaBvZ
Not selecting text while double clicking.

@vytya vytya changed the title DataTable: double clicking on cell with button selecting next cell in next row (chrome only) DataTable: double clicking on cell with button selecting text in next row's next cell (chrome only) Feb 20, 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 Feb 20, 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