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

How to prevent default paste event #180

Closed
9aoyang opened this issue Mar 17, 2020 · 5 comments
Closed

How to prevent default paste event #180

9aoyang opened this issue Mar 17, 2020 · 5 comments
Labels

Comments

@9aoyang
Copy link

9aoyang commented Mar 17, 2020

In some situation, I need to disable the default paste event use custom, why 7.0.0 remove the event argument in onPaste event, Is there any other way to disable the default paste event

@scniro
Copy link
Owner

scniro commented Mar 17, 2020

@9aoyang hmh, let me get back to you on that. I did indeed remove the event as the new typings lib suggested the events were no longer in the function signatures of cut copy & paste. Please use 6.0.1 until I am able to get you better information. Thanks!

@scniro scniro added the bug label Mar 17, 2020
@9aoyang
Copy link
Author

9aoyang commented Mar 19, 2020

Thanks a lot!

@scniro
Copy link
Owner

scniro commented Mar 20, 2020

@9aoyang yep this was indeed a problem! Keeping parity with library changes & typings are always tricky 😸 This is hopefully fixed with the 7.1.0 release. Can you please verify when you find a moment?

@scniro
Copy link
Owner

scniro commented Mar 25, 2020

@9aoyang going to close this, please re-open should you experience the same issue. Thanks!

@scniro scniro closed this as completed Mar 25, 2020
@9aoyang
Copy link
Author

9aoyang commented Apr 2, 2020

I'm sorry for replying to you late. I just upgraded and now it works fine : )

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants