Giter Club home page Giter Club logo

Comments (7)

khoussem avatar khoussem commented on May 18, 2024

there is the 'pointer-events': 'none', witch disable any cursor event handler, so I think tip.hide() should work just fine

from d3-tip.

manassra avatar manassra commented on May 18, 2024

But would that pass mouseover and click events to nodes lying behind it?

from d3-tip.

khoussem avatar khoussem commented on May 18, 2024

yes, I made some tests and everything seems to work just fine, do you have an example where it did not?

from d3-tip.

manassra avatar manassra commented on May 18, 2024

Interesting. I have inspected the tip more closely, and when it is hidden, the css property pointer-events: none is not apparent. Would it be the case that I am using an outdated version of the d3-tip?

I am currently using this <script src="http://labratrevenge.com/d3-tip/javascripts/d3.tip.min.js"></script>

from d3-tip.

khoussem avatar khoussem commented on May 18, 2024

I am using the same version, and I don't have the problem. here is an example of the tag's style after being hidden:
style="left: 680.55px; top: 844.58px; position: absolute; opacity: 0; pointer-events: none;"

from d3-tip.

manassra avatar manassra commented on May 18, 2024

I ended up cloning this repo and using this source code instead. I am not having this issue anymore. It might have been a caching problem or something related to a bug in the minified version. Thanks!

from d3-tip.

caged avatar caged commented on May 18, 2024

The code you were using was an older version. This should be fixed in versions >= v0.6.1.

from d3-tip.

Related Issues (20)

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.