Giter Club home page Giter Club logo

Comments (6)

valeriansaliou avatar valeriansaliou commented on May 23, 2024

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.

kmv avatar kmv commented on May 23, 2024

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.

valeriansaliou avatar valeriansaliou commented on May 23, 2024

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.

kmv avatar kmv commented on May 23, 2024

Yes i use display: none;

from jquery.clipboard.

valeriansaliou avatar valeriansaliou commented on May 23, 2024

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.

valeriansaliou avatar valeriansaliou commented on May 23, 2024

Closed as no fresh details coming in.

from jquery.clipboard.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.