Comments (6)
Yes it is, cause the code used (ZeroClipboard) needs to retrieve element to be visible in order to position the Flash element (the click needs to be done right on the embedded Flash applet, so that we can fire a Flash action to store in the clipboard the data being passed - this is the only we we can do it).
So yeah, the element needs to be visible.
from jquery.clipboard.
But Plugin works fine (ff 26) if i removes subject code. Flash element is positioned correctly over element (absolute div with fixed sizes retrived by ajax and element are invisible at initialization state).
Maybe possible to provide a choice - to check whether or not the element is visible.
from jquery.clipboard.
Let me know, are you using display: none or visibility: hidden on that element? I can provide a fix and only ignore if display: none (cause I cannot retrieve position for this one), but visibility: hidden still makes the element being placed (I can get the position even if hidden this way).
from jquery.clipboard.
Yes i use display: none;
from jquery.clipboard.
Okay so then even with changes I might not be able to get element position. Can you apply the clipboard rather right after showing the target element in your code? Might be the most straightforward way to fix it.
from jquery.clipboard.
Closed as no fresh details coming in.
from jquery.clipboard.
Related Issues (10)
- Multiple Elements
- hello the plugin is awesum but i am trying to implement it in apex tool, in a page table with records will be generated,every cilumn will be having a image, on click of that image the data in the field must be copied say as id number with respective to its column only is this posible with this code? HOT 1
- Additional clipboard buttons with AJAX content
- Set clipboard for hidden element
- Click Twice To Copy HOT 3
- May I know how to update the ZeroClipboard you are using to the latest version? HOT 3
- hide the "copy"-button when flash not available? HOT 1
- Not Working For Dynamically Added Elements HOT 1
- Clipboards are stacking HOT 1
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 jquery.clipboard.