-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
KeyFilter: Paste under MacOS does not work #5147
KeyFilter: Paste under MacOS does not work #5147
Comments
I wonder if it in IOS this line doesn't work? const clipboard = e.clipboardData.getData('text'); |
looks like it might be a Safari issue: https://developer.apple.com/forums/thread/133001 |
No, it's not connected with Safari, it's reproducing in Desktop Chrome as well. |
Probably something with cmd key detection. For example, Alphanumeric insertion works well. |
@axlerk PR is welcome if you figure it out! |
I could try, do we have a README about how to build live showcase page like this one: https://primereact.org/keyfilter ? |
Yep just check out the code and run NPM install followed by "npm run dev" it runs the app on port 3000 |
Describe the bug
Under MacOS (both Safari and Chrome) pasting from the clipboard via key combination is not possible when an InputText has a KeyFilter (pint in my case) configured. Pasting via the context menu works.
The issue can be reproduced on the Component Showcase: https://primereact.org/keyfilter/
Reproducer
No response
PrimeReact version
10.0.2
React version
17.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
MacOS, Safari, Chrome
Steps to reproduce the behavior
Expected behavior
Copied content should be pasted.
The text was updated successfully, but these errors were encountered: