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

[DataGridPremium] Paste confirmation demo doesn't paste if a single cell is selected #12723

Closed
cherniavskii opened this issue Apr 9, 2024 · 1 comment · Fixed by #12724
Closed
Assignees
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! feature: Clipboard Related to clipboard copy or paste functionalities plan: Premium Impact at least one Premium user

Comments

@cherniavskii
Copy link
Member

cherniavskii commented Apr 9, 2024

Steps to reproduce

Link to live example: https://stackblitz.com/run?file=package.json

Steps:

  1. Select a single cell and copy it (Ctrl+C)
  2. Select a different cell and paste (Ctrl+C)
  3. Click "Confirm" in the confirmation dialog

Current behavior

The value is not pasted after confirmation

Screen.Recording.2024-04-09.at.20.41.52.mov

Expected behavior

The value should be pasted after confirmation

Context

This works fine if Enter is pressed in the confirmation dialog instead of the click.
This is probably because the cell loses focus on the dialog click.

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: paste confirmation

@cherniavskii cherniavskii added bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! status: waiting for maintainer These issues haven't been looked at yet by a maintainer plan: Premium Impact at least one Premium user feature: Clipboard Related to clipboard copy or paste functionalities and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Apr 9, 2024
@cherniavskii cherniavskii self-assigned this Apr 9, 2024
Copy link

⚠️ This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

@cherniavskii: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! feature: Clipboard Related to clipboard copy or paste functionalities plan: Premium Impact at least one Premium user
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant