Code Monkey home page Code Monkey logo

incubator-tooltip-flow's Introduction

incubator-tooltip-flow's People

Contributors

alvarezguille avatar diegosanzvi avatar juhopiirainen avatar skrikjo avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

stefisurariu

incubator-tooltip-flow's Issues

TypeError: this.offsetParent is null; can't access its "getBoundingClientRect"

Hello,
I've try this plugin and is very nice :-)
But, there is one problem... (I attach the console image)
immagine

When I load the page with tooltip object into my component, I see this error (the same error is present in page). When the popup is closed, the tooltip work fine.
I've see that you have already open the issue in "incubator-tooltip" repo, but if I try to update the webjar with the fixed component (v.1.1.1), the problem is still present.

Thanks,
Vincenzo

Shouldn't need to be added explicitly

To be displayed, currently Tooltip needs to be explicitly added to the DOM. For example, this doesn't work:

var button = new Button("With tooltip");
var tooltip = new Tooltip(button);
tooltip.add(new Span("I'm the tooltip!"));
layout.add(button);

beacause it needs also layout.add(tooltip), which is automatic in other components (e.g. Dialog).

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.