Comments (13)
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.
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.
@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.
@dgodfather
I have the same problem. Did you find a solution?
from hint.css.
@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.
@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.
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.
@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.
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.
@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.
@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.
@thejameskyle Wouldn't JS/Jquery be required to acknowledge window resizing?
from hint.css.
@dgodfather https://developer.mozilla.org/en-US/docs/Web/Events/resize
from hint.css.
Related Issues (20)
- [suggestion] manual trigger class HOT 2
- <button> in a <td> with IE11 HOT 1
- no arrow showing up and bouncing on show / hide
- question/feature_request(enhancement): tooltip on click HOT 1
- Features suggestion HOT 2
- Web Maker Link Broken on the Hint CSS landing page HOT 8
- NPM installs version with non-MIT license HOT 3
- add hint--fit support
- Tooltip inside element to prevent page growth/cropping?
- Tooltip will be covered In Bootstrap Panel
- How can you make the tool tip always on top of every element and not clip? HOT 2
- install dependencies Fail
- I can't get it to look outside the container HOT 1
- width: max-content and max-width implementation HOT 1
- Overreliance on Specific Z-Index:
- Transition Property Usage: HOT 1
- Vendor Prefixes
- Accessibility Concerns
- Consider white-space : pre-line as a native part of hint--large HOT 2
- Feature : Add Color Option for Tooltips
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 hint.css.