-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unmountHTMLWhenHide not working #80
base: master
Are you sure you want to change the base?
Conversation
+1 waiting |
1 similar comment
+1 waiting |
+1 |
+1 waiting |
+1 |
1 similar comment
+1 |
@@ -323,7 +323,7 @@ class Tippy { | |||
if ( | |||
isVisible(popper) || | |||
!appendTo.contains(popper) || | |||
getComputedStyle(tooltip).opacity === '1' | |||
getComputedStyle(tooltip).opacity !== '1' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have had a quick test, your fix seems to make the issue more than fix it, the tooltip in my usual use-case got stuck and never unmount out of DOM.
The original logic seems correct so, again, please help giving more clue / code snippet. Would very appreciate it.
Thanks @olya777 for your contribution, But could you ever reproduce the issue and please post some code snippet here so we could find what is the root cause and make sure our solution could solve it completely. |
Please see https://github.com/tvkhoa/react-tippy/issues/40