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

Include KeyboardEvent to onCopy and onPaste callbacks #3270

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

paustint
Copy link

@paustint paustint commented Jul 1, 2023

Users may need to stop propagation or prevent default or otherwise utilize the source event

There is a bug where I have a cell renderer with a button which opens a modal and shows another table in the modal. The onCopy event is fired in the table from the modal then fired again from the base table, so the base table is what gets added to the clipboard.

Having the ability to stopPropagation and preventDefault solve this issue by making sure that the event does not get fired on both tables.

Users may need to stop propagation or prevent default or otherwise utilize the source event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant