GithubHelp home page GithubHelp logo

Comments (7)

45kb avatar 45kb commented on May 19, 2024

@mubasshir Hi, this is weird, have you tried like this:

<span tooltips tooltip-side="left" tooltip-try="1" tooltip-content="Enter your personal number"> <i class="icon ion-ios-information-outline fa fa-2x right-icon"></i> </span>

It could be a css problem but can you please provide a working plunkr or jsfiddle to replicate the problem?

thank you

from angular-tooltips.

mubasshir avatar mubasshir commented on May 19, 2024

hey,
sorry I tried CodePen but failed. I'm using Ionic Framework, and I have made many changes which are difficult to replicate.

When I adjust left of tooltip class from inspect, it becomes one liner and caret appears.

PS: when add more text in inspect, again caret disappears.

from angular-tooltips.

45kb avatar 45kb commented on May 19, 2024

Hi @mubasshir what you mean by "adjust left of tooltip class" ?

Have you tried with the code i attached above?
Does this happens only on <i> elements?

I bet ionic css or something is changing the tooltip css behavior in some way, you should check deeply if something collide, actually i am unable to replicate the problem and see what's happening....

from angular-tooltips.

45kb avatar 45kb commented on May 19, 2024

Also please try with this:

<i tooltip-content="<div>Hi</div><div>I am a new line inside tooltip</div>"></i>

from angular-tooltips.

mubasshir avatar mubasshir commented on May 19, 2024

hey,
it did not work me. Also, instead of showing content its shows
<div>Hi</div><div>I am a new line inside tooltip</div>

Do I need to make html-escape=false or something?

from angular-tooltips.

45kb avatar 45kb commented on May 19, 2024

@mubasshir It's hard to replicate your problem, i tried without any success, if you can provide a working example we can investigate, otherwise, unfortunately, we don't know how to help you.

I am going to close the issue (for the moment), we can still talk here and i'll be glad to help you.

from angular-tooltips.

limax84 avatar limax84 commented on May 19, 2024

@45kb I'm sorry if I'm off topic. However that thread is the closest to what I'm trying to do with 720kb-tooltips.
I'm trying to display two separate lines within my tooltip.
As you suggested above to try this :
<i tooltip-content="<div>Hi</div><div>I am a new line inside tooltip</div>"></i>
I'm guessing there is a way to achieve this, but this code just display the HTML code in the tooltip.
Is there an option to allow HTML code to be interpreted within the tooltip content ?

from angular-tooltips.

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.