{"action":"created","issue":{"url":"https://api.github.com/repos/720kb/angular-tooltips/issues/10","labels_url":"https://api.github.com/repos/720kb/angular-tooltips/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/720kb/angular-tooltips/issues/10/comments","events_url":"https://api.github.com/repos/720kb/angular-tooltips/issues/10/events","html_url":"https://github.com/720kb/angular-tooltips/issues/10","id":54981706,"number":10,"title":"tooltip should not takes up space when it's hidden","user":{"login":"KynoYang","id":2586026,"avatar_url":"https://avatars.githubusercontent.com/u/2586026?v=3","gravatar_id":"","url":"https://api.github.com/users/KynoYang","html_url":"https://github.com/KynoYang","followers_url":"https://api.github.com/users/KynoYang/followers","following_url":"https://api.github.com/users/KynoYang/following{/other_user}","gists_url":"https://api.github.com/users/KynoYang/gists{/gist_id}","starred_url":"https://api.github.com/users/KynoYang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KynoYang/subscriptions","organizations_url":"https://api.github.com/users/KynoYang/orgs","repos_url":"https://api.github.com/users/KynoYang/repos","events_url":"https://api.github.com/users/KynoYang/events{/privacy}","received_events_url":"https://api.github.com/users/KynoYang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-21T06:13:22Z","updated_at":"2015-01-21T17:03:41Z","closed_at":null,"body":"@45kb hi, I got a problem caused by visibility: hidden since \"hidden\" here means \"can't be seen but take up space\". \r\n\r\nIn my project, the whole page's height is 100vh. However, I found after using tooltips, the body element could be scrolled. I tried several times and found it's tooltips that are below the body element before they are initialized. \r\n\r\nSo far, I have to set tooltip's top to avoid it taking space below body element.\r\n\r\nSo, I think maybe we should use display: none or block to control tooltip's visibility. \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/720kb/angular-tooltips/issues/comments/70876698","html_url":"https://github.com/720kb/angular-tooltips/issues/10#issuecomment-70876698","issue_url":"https://api.github.com/repos/720kb/angular-tooltips/issues/10","id":70876698,"user":{"login":"KynoYang","id":2586026,"avatar_url":"https://avatars.githubusercontent.com/u/2586026?v=3","gravatar_id":"","url":"https://api.github.com/users/KynoYang","html_url":"https://github.com/KynoYang","followers_url":"https://api.github.com/users/KynoYang/followers","following_url":"https://api.github.com/users/KynoYang/following{/other_user}","gists_url":"https://api.github.com/users/KynoYang/gists{/gist_id}","starred_url":"https://api.github.com/users/KynoYang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KynoYang/subscriptions","organizations_url":"https://api.github.com/users/KynoYang/orgs","repos_url":"https://api.github.com/users/KynoYang/repos","events_url":"https://api.github.com/users/KynoYang/events{/privacy}","received_events_url":"https://api.github.com/users/KynoYang/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T17:03:41Z","updated_at":"2015-01-21T17:03:41Z","body":"It seems that opacity animation can't work with \"display:none\".\r\nToo bad. (>﹏<)\r\nI‘ll think about other ways."}}