Git Product home page Git Product logo

meteor-tooltips's Issues

shift problems

I meet this problem when using your package,

image

it seems related to the position calculation, any idea?

How to add element to tooltips template

I'd like to add an extra div element to the tooltip template, How can I do this? If I create a tooltips template myself, Meteor throws an error saying that I cannot have multiple templates with the same name.

Tooltips not disabling

Hi, I am using the tooltips and am successfully changing the global Tooltips.disable from true to false. However, there is no change seen in the visibility of the actual tooltips. I assumed that the tooltips would automatically be removed on setting the .disable field, but is there something else I need to do? Thank you!

Direction semantics

Hi,
I noticed you're using compass directions for the data-tooltip-direction.
I think, by mistake, you got east and west mixed up, that can get confusing...
Cheers!

tooltip does not got away

I added a tooltip to double clickable table row which appears when hover over each row. That works fine. But when I double-click a row, it removes that table and loads new template, but that tooltip does not go away.

Inner html in data-tooltip attribute

Hi! I'd like to be able to use inner html inside the tooltip, like this :

<span data-tooltip="<em>Hi!</em>"></span>

Or perhaps better :

<span data-tooltip-inner="true">
    <span data-tooltip-inner-html>
        <em>Hi!</em>
    </span>
</span>

Click and hover

Is it currently possible to show the tooltip when I click on a button, then remove it after my mouse has left the element?

Right now I have data-tooltip-trigger="click" and data-tooltip="Hey!" on a icon element. I want the tooltip to go away once they've left the icon.

Multiple tooltip styles?

Is it possible to have multiple styles for tooltips without a way to set a class on the tooltip?

For instance, if I need red tooltips in one part of the app and blue tooltips in another?

Reactive blaze data not updating.

If I write something like :

<span  data-tooltip="{{minutes}} - {{observations}}" style="left: {{leftOffset}}px;" ></span>

The data-tooltip attribute will update reactively but the the tooltip content won't. Is that the expected behaviour?

IE: incorrect position in some cases

IE have problems with the positioning. Seems like IE sorting style names when set them in DOM.

Screenshot

Template helper "position" return string like "position: absolute; top: 100px; left: 100px" but in DOM styles looks like

left: 100px top: 100px; 
position: absolute;

And tooltip container displayed in incorrect place.

Fix is simple - add semicolon in helper "position" for "left" style:

position: function() {
  var css;
  css = getTooltip().css;
  return "position: absolute; top: " + css.top + "px; left: " + css.left + "px;";
}

Negative offsets

I'm trying to set data-tooltip-left to a negative value without success, it invalidates the css flag:

image

Is there an alternative?

No css

Hi I've installed your package via meteor add.
However i see that it does not come with CSS compiled, nor SCSS.

I think you should explicitly say this behaviour.
Telling people to customize on their own the tooltips.

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.