Comments (4)
Safari is no longer supported on Windows, so I cannot test this myself.
Without more information or other reports, I'll close this for cleaning but welcome PRs if it becomes solvable in the future.
from use-clippy.
Thanks for reporting. Can you provide a repo/CodeSandbox with a minimum reproduction?
from use-clippy.
Sorry, just wanted to report this hoping that someone will figure this out without any additional info from my side. Don't want to be a dick, but I'm pretty sure it's reproducible quite simply. Just bootstrap some app, create a long page with scroll, and try it in Safari.
from use-clippy.
Hi @arturlagutin I can simulate your issue on my iPhone safari, I tried to fix this issue, and found that this issue is cause by the input is append at the bottom of the body and focus it.
So I change to prepend the input to the body, then it comes up another issue, because it's focusing an input field, the keyboard also comes up when I try to copy, then I set the input to readOnly, but it still showing "Paste/Speak", this one I really don't know how to solve.
from use-clippy.
Related Issues (19)
- [Security] Reading the clipboard is disabled in browsers.
- Have problem on Firefox HOT 3
- Memoize setClipboard
- We don't execute document.execCommand() this time, because it is called recursively. HOT 2
- Copy events do not trigger local state changes in latest version of Chrome. HOT 4
- Get clipboard contents on load? HOT 5
- Safari support HOT 3
- Reading the clipboard does not work in some versions of Safari. HOT 2
- paste not updating `clipboard` HOT 2
- Deploy a live demo to GH Pages.
- image support? HOT 1
- Only write permissions version HOT 3
- Using clippy across multiple components does not propagate changes to the clipboard of each component
- Write a Medium article for how this was made and/or how to use it.
- modal with useClippy in it scrolls the page HOT 1
- Failed to copy with DOMException document not focused in latest firefox / chrome.
- Disable reading from clipyboard. HOT 1
- React version dependency HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from use-clippy.