question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hey,

I believe the hide() function isn’t working reliably or I don’t understand the documentation. Am I doing something wrong? https://jsfiddle.net/dmgvcmy8/ (used keyup event to avoid built in event listeners)

Great work on tippy.js btw, one of my favorite libraries discovered over the past month!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
atomikscommented, Apr 13, 2017

You’re passing in the popper rather than the tooltipped element, so use:

var popper = instance.getPopperElement(document.querySelector('button'));

Maybe the docs aren’t clear enough on that, I will update it!

0reactions
atomikscommented, Apr 13, 2017

Tippy.touchUser isn’t available on page load when you create the instances, so you’d have to make your own touchstart listener detection I think. I guess your way works for the most part but not exactly failsafe.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Hide issues in one project - Atlassian Community
Hi there! I have a project in JIRA with one project lead and several managers in it. I need to configure scheme where:....
Read more >
jQuery hide() Method - GeeksforGeeks
The hide() is an inbuilt method in jQuery used to hide the selected element. Syntax: $(selector).hide(duration, easing, call_function);. Here ...
Read more >
.hide() | jQuery API Documentation
A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. As of jQuery 1.7,...
Read more >
SwiftUI: Conditionally hide a view without recreating it
The problem: .isHidden(). Now, I need to conditionally hide a view. And to be honest, I have no idea how to achieve it....
Read more >
show() and hide() problems · Issue #3672 · jquery ... - GitHub
the javascript call div.show() ... it set in Node block, not flex then you call hide() and it set internally as prev value=...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found