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: Can't copy text with control + c when Table has selectable rows #6740

Closed
muratyldzxc opened this issue Nov 7, 2024 · 5 comments
Closed
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@muratyldzxc
Copy link

Describe the bug

When selecting a row, when i.e. single selection mode is active, you can not copy the content of the cell.
This bug resolved in primevue 3 actually. But primevue 4 doesn't have the solution as I checked the source code.
The previous PR is https://github.com/primefaces/primevue/issues/5757

Reproducer

https://stackblitz.com/edit/primevue-4-vite-issue-template-uymduz?file=src%2FApp.vue

PrimeVue version

4.0.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

When selecting a row, when i.e. single selection mode is active, you can not copy the content of the cell.

Expected behavior

I should be able to copy content of a cell.

@muratyldzxc muratyldzxc added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 7, 2024
@muratyldzxc muratyldzxc changed the title Component Name: Can't copy text with control + c when Table has selectable rows DataTable: Can't copy text with control + c when Table has selectable rows Nov 7, 2024
@tugcekucukoglu
Copy link
Member

Issue tracker is used for defects only as part of our commitment to quality and continuous improvement in all areas. Enhancements are collected as valuable community feedback and managed internally so moving this enhancement ticket to our internal project management backlog.

For enhancement requests and other topics, you can open a new topic in PrimeVue discussions.

@mrheinen
Copy link
Contributor

How is this not a defect ? Is there a workaround ?

@mrheinen
Copy link
Contributor

I created a PR for this:
#7147

Thanks to @nameless on Discord for this support

@tugcekucukoglu tugcekucukoglu added Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add 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 28, 2025
@tugcekucukoglu tugcekucukoglu added this to the 4.3.0 milestone Jan 28, 2025
@github-project-automation github-project-automation bot moved this to Review in PrimeVue Jan 28, 2025
@tugcekucukoglu tugcekucukoglu self-assigned this Jan 28, 2025
@mertsincan mertsincan moved this from Review to Done in PrimeVue Jan 28, 2025
@shashank-fm
Copy link

is there any update? is this issue fixed?

@mrheinen
Copy link
Contributor

mrheinen commented Feb 11, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
Status: Done
Development

No branches or pull requests

4 participants