GithubHelp home page GithubHelp logo

Comments (10)

dimensi avatar dimensi commented on May 18, 2024 1

yes, now it's work. Thx

from floating-vue.

yowzadave avatar yowzadave commented on May 18, 2024 1

@ivansieder thanks for the suggestions. After some exploration, I was able to identify the problematic style rule: a grandparent div had the rule overflow-y:hidden; applied, which for some reason keeps the tooltip from being correctly positioned.

from floating-vue.

ivansieder avatar ivansieder commented on May 18, 2024 1

That's on purpose, as the plugin is made to prevent being positioned in overflows. (That's the preventOverflow property of popper.js)

from floating-vue.

OwenMelbz avatar OwenMelbz commented on May 18, 2024

Ive also been struggling to get this to work.

Even tried using

Vue.use(Tooltip, {
    defaultOffset: 200
});

with no luck

from floating-vue.

Akryum avatar Akryum commented on May 18, 2024

This is an issue with tooltip.js. I'll make a PR. In the meantime, I fixed this inside v-tooltip in the rc.2 release.

from floating-vue.

dimensi avatar dimensi commented on May 18, 2024

@Akryum DefaultOffset not work anyway

from floating-vue.

Akryum avatar Akryum commented on May 18, 2024

@edDimensi Could you try again with the latest release?

from floating-vue.

yowzadave avatar yowzadave commented on May 18, 2024

tooltip

I'm experiencing what seems to be a similar problem? My tooltip is always located directly on top of my button element; changing the `offset` property has no effect on its location. I'm placing the tooltip like so:

<button :class="{active}"
:disabled="disabled"
class="w-8 h-8 flex items-center justify-center"
v-tooltip.bottom="{content: feature.displayName, offset: 100}"
@click="handleClick">

from floating-vue.

ivansieder avatar ivansieder commented on May 18, 2024

@yowzadave I have tried using your code in an app and it works as expected. Are you using the latest version of the plugin? Are you sure you're not overwriting the positioning of the tooltip with some custom css/js? Do you have any complete code example to test this with? Because right now I can't reproduce this issue.

from floating-vue.

yowzadave avatar yowzadave commented on May 18, 2024

Thank you!

from floating-vue.

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.