Comments (12)
Well, I got a really ugly hack to make it seem to work with fixed tooltips, but it's not something I'd like to use since I don't have a thorough understanding of the code. A diff of my hack is available here. Basically, I changed the code so that it would get another mouse event after showing the tooltip (by still following it) and then allow a single repositioning post showing (which I'm guessing would screw up non fixed, but easy to make it right).
If this helps you fix this solidly I'd be grateful!
from opentip.
Hi,
I'm really sorry that you seem to experience every last problem there is with Opentip.
I was under extreme time pressure those last days (weeks) and am in the studio again the next weeks, but I hope I get some time tomorrow to inspect and fix the problems you experience.
Thanks for your patience and your efforts to figure out the problems yourself.
from opentip.
Thanks a lot. And you shouldn't apologize, since it's open source and the reason I'm using it is because it's the best one that I've found for my needs. Code is hard, sometimes it doesn't work perfectly, even more so with javascript widgets :)
from opentip.
Hey, I saw you closed this. Was this fixed by 5a5c8fd ? Or was it some other commit?
from opentip.
Oh. I thought it was fixed by a12db3b. I'lll reopen the issue until I've verified it.
from opentip.
Hey. I just wanted to know whether you think this will be fixed soon. No pressure, I just need to know if I need to use my patched workaround version on production or not and want to plan for it. Thanks!
from opentip.
Hi. I'll try to do it in the next 2-3 days. Cheers
from opentip.
from opentip.
Ok. The problem seems to only appear when the tooltip is not fixed to an element, but at the mouse cursor position. This way, when the browser gets resized, the Tooltip is being replaced at mouse position, which has changed since the time it appeared.
So as a quick workaround, set a target for the opentip, and your problem should be solved. I'll look into how much the other solution would be. (But as a ground rule I suggest adding a target when you choose a fixed tooltip)
from opentip.
Ok. It was quite easy to fix. Although leaving the tooltip at mouse position gives some weird effects when the website content is centred it behaves as expected now.
from opentip.
YES! Looks great here. Thank you so so much. I owe you a 🍺, shall we ever cross paths :)
from opentip.
If I ever get the chance to visit Israel I'll take you up on that offer!
from opentip.
Related Issues (20)
- opentip not hiding over iframe HOT 4
- HTML tags show up in the tooltip when escapeContent is set to true HOT 1
- Version 2.4.6 is not published in NPM
- Change opentip content text color HOT 1
- Component adapter broken on npm HOT 2
- Prevent overlap with target element? HOT 1
- Proposed: Adding z-index as an option
- Element outside the bubble HOT 1
- Calling show, followed by onBeforeHide works in Chrome but not Safari HOT 2
- OpenTip+jQUery after ajax call using append
- Show on front
- Canvas of Tooltip exceeds page boundaries
- data-id conflicts
- Add sticky option
- resize feature request
- Show effect only executed the first time the tooltip is displayed
- Many dependencies
- show toolip when mousehover stops on specific canvas area
- Tooptip positioning
- Switch styles on the fly?
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 opentip.