Comments (10)
yes, now it's work. Thx
from floating-vue.
@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.
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.
Ive also been struggling to get this to work.
Even tried using
Vue.use(Tooltip, {
defaultOffset: 200
});
with no luck
from floating-vue.
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.
@Akryum DefaultOffset not work anyway
from floating-vue.
@edDimensi Could you try again with the latest release?
from floating-vue.
<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.
@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.
Thank you!
from floating-vue.
Related Issues (20)
- Global Configuration Nuxt3 Vue3 HOT 3
- ArrowOverflow has no affect
- Popover becomes sticky HOT 4
- Images not rendering in tooltip HOT 1
- Performance issue on too many popovers ? HOT 4
- Hydration issues - Nuxt 3/Vue 3 HOT 11
- Ater updating to v5.1 the v-close-popper directive no longer works HOT 1
- @click not fired in elements inside a v-close-popper HOT 8
- body class
- Vue 3 Warning
- Using VTooltip Component Not Working HOT 1
- Re-focusing the trigger, when closing via `esc` key HOT 5
- Popover v-close-popover no longer closes the popover.
- Popover @click isn't triggered on IOS HOT 10
- Bottom position as fallback
- Dropdown boundary is not taken into account
- Accessibility: the active tooltip loses the ability to dismiss it with "escape" key when autoHide: true and noAutoFocus: true HOT 1
- [plugin:vite:vue] Codegen node is missing for element/if/for node. Apply appropriate transforms first. HOT 2
- Why swapping `title` with `data-original-title` for tooltips?
- .mjs package "currently no loaders are configured to process this file" error on webpack
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from floating-vue.