Giter VIP home page Giter VIP logo

Comments (13)

dgodfather avatar dgodfather commented on September 28, 2024

I've noticed this as a problem for me as well. This means that you have to use a number that big (1000000) for it to show up on top of other objects?

from hint.css.

dgodfather avatar dgodfather commented on September 28, 2024

http://postimg.org/image/d3we37y5f/

I don't know if it has to do with the z-index or not, but the link to the image above shows the hint being cut off. Without doing a bunch of styling changes, is there a way to ultimately bring it to the front?

from hint.css.

jamiebuilds avatar jamiebuilds commented on September 28, 2024

@dgodfather
That looks like it's being cut off by an overflow, this is something you are going to need to fix outside of hint.css

from hint.css.

clrunlc avatar clrunlc commented on September 28, 2024

@dgodfather
I have the same problem. Did you find a solution?

from hint.css.

tnrich avatar tnrich commented on September 28, 2024

@thejameskyle @clrunlc and @clrunlc I am hitting the same issue as well. I need the overflow to be hidden, but also need the tooltip to show up... How can I get around this?

from hint.css.

jamiebuilds avatar jamiebuilds commented on September 28, 2024

@tnrich It's just not possible with hint. You can use something like this instead: http://github.hubspot.com/tooltip/docs/welcome/

from hint.css.

dgodfather avatar dgodfather commented on September 28, 2024

For me it was something with my underlying css that I had to work out. I can't quite recall. Do you have a link to your issue?

from hint.css.

chinchang avatar chinchang commented on September 28, 2024

@tnrich There can only be workarounds for this issue. For example, you could move the tooltip upwards and put it on the element that has overflow:hidden on it - if that works for your scenario.

If you could show your exact layout, may be I can suggest something. Otherwise if nothing works, you'll have to use some JavaScript based tooltip like @thejameskyle suggested.

from hint.css.

tnrich avatar tnrich commented on September 28, 2024

Okay thanks everyone for the input! I'll try using a js solution instead. Can anyone suggest a jquery-free solution that still works in a similar fashion to hintjs's data-attributes?

Thanks!

from hint.css.

dgodfather avatar dgodfather commented on September 28, 2024

@tnrich The thing you should consider is that with a JQuery solution your tooltips can be responsive. I'm not sure about strictly JS and certainly not CSS only.

from hint.css.

jamiebuilds avatar jamiebuilds commented on September 28, 2024

@tnrich The one I mentioned does not have a dependency on jQuery.

@dgodfather There's no reason that jQuery is needed for responsiveness

from hint.css.

dgodfather avatar dgodfather commented on September 28, 2024

@thejameskyle Wouldn't JS/Jquery be required to acknowledge window resizing?

from hint.css.

jamiebuilds avatar jamiebuilds commented on September 28, 2024

@dgodfather https://developer.mozilla.org/en-US/docs/Web/Events/resize

from hint.css.

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.