Giter Site home page Giter Site logo

Comments (12)

abyx avatar abyx commented on August 17, 2024

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.

enyo avatar enyo commented on August 17, 2024

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.

abyx avatar abyx commented on August 17, 2024

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.

abyx avatar abyx commented on August 17, 2024

Hey, I saw you closed this. Was this fixed by 5a5c8fd ? Or was it some other commit?

from opentip.

enyo avatar enyo commented on August 17, 2024

Oh. I thought it was fixed by a12db3b. I'lll reopen the issue until I've verified it.

from opentip.

abyx avatar abyx commented on August 17, 2024

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.

enyo avatar enyo commented on August 17, 2024

Hi. I'll try to do it in the next 2-3 days. Cheers

from opentip.

abyx avatar abyx commented on August 17, 2024

from opentip.

enyo avatar enyo commented on August 17, 2024

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.

enyo avatar enyo commented on August 17, 2024

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.

abyx avatar abyx commented on August 17, 2024

YES! Looks great here. Thank you so so much. I owe you a 🍺, shall we ever cross paths :)

from opentip.

enyo avatar enyo commented on August 17, 2024

If I ever get the chance to visit Israel I'll take you up on that offer!

from opentip.

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.