Coder Social home page Coder Social logo

Comments (6)

nicolasvahidzein avatar nicolasvahidzein commented on June 5, 2024

my apologies, it was actually the font awesome icon. When you use certain icons, they height messes up with the placement of the arrow in the tooltip. Any idea why?

<div type="submit" class="button is-primary-merlin" v-tooltip.notrigger="{ content: tooltipData[3], visible: showToolTip(3), class: 'merlintooltip', offset: 50 }" v-on:mouseover="showToolTip(3, 'in')" v-on:mouseleave="showToolTip(3, 'out')" :disabled="!showSubmit"><i class="fa fa-floppy-o"></i></div>

fa fa-floppy-o compared to fa fa-check changes the positioning.

from vue-directive-tooltip.

nicolasvahidzein avatar nicolasvahidzein commented on June 5, 2024

it's a combination of problem actually, using floppy-o and text align left is ok but changing either to right or a different icon it's buggy.

from vue-directive-tooltip.

hekigan avatar hekigan commented on June 5, 2024

Mmm, that might be a problem with popper.js
The arrow positioning is delegated to Popper, I don't actively change/modify it.

from vue-directive-tooltip.

hekigan avatar hekigan commented on June 5, 2024

And here is an example with the text-align left & right.

https://codepen.io/hekigan/pen/eEKPjm

I could see no issues. I am testing on Chrome, but I am not sure if it's relevant at all.

from vue-directive-tooltip.

nicolasvahidzein avatar nicolasvahidzein commented on June 5, 2024

I can't run this one as well.

from vue-directive-tooltip.

hekigan avatar hekigan commented on June 5, 2024

As explained in issue #9 , I am closing this one too.

from vue-directive-tooltip.

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.