{"action":"created","issue":{"url":"https://api.github.com/repos/novus/nvd3/issues/1463","labels_url":"https://api.github.com/repos/novus/nvd3/issues/1463/labels{/name}","comments_url":"https://api.github.com/repos/novus/nvd3/issues/1463/comments","events_url":"https://api.github.com/repos/novus/nvd3/issues/1463/events","html_url":"https://github.com/novus/nvd3/issues/1463","id":128926982,"number":1463,"title":"Tooltip doesn't hide when scrolling out of svg","user":{"login":"jamiis","id":831775,"avatar_url":"https://avatars.githubusercontent.com/u/831775?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiis","html_url":"https://github.com/jamiis","followers_url":"https://api.github.com/users/jamiis/followers","following_url":"https://api.github.com/users/jamiis/following{/other_user}","gists_url":"https://api.github.com/users/jamiis/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiis/subscriptions","organizations_url":"https://api.github.com/users/jamiis/orgs","repos_url":"https://api.github.com/users/jamiis/repos","events_url":"https://api.github.com/users/jamiis/events{/privacy}","received_events_url":"https://api.github.com/users/jamiis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/novus/nvd3/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-26T20:06:08Z","updated_at":"2016-01-28T23:34:54Z","closed_at":null,"body":"video of the bug in action: https://youtu.be/65XYhICEcvw\r\n\r\nBasically [`mouseHandler()`](https://github.com/novus/nvd3/blob/master/build/nv.d3.js#L222) isn't called on scroll events for the svgContainer. I've fiddled with `svgContainer.on(\"scroll\", mouseHandler)`, similar to [here](https://github.com/novus/nvd3/blob/master/build/nv.d3.js#L361) and also `d3.select(window).on(\"scroll\",mouseHandler)` (which, obviously, doesn't work when calculating `d3.mouse(window)`). \r\n\r\nI'll continue fiddling but thought I'd drop this here to see if this bug is known or if someone is already working on it."},"comment":{"url":"https://api.github.com/repos/novus/nvd3/issues/comments/176480756","html_url":"https://github.com/novus/nvd3/issues/1463#issuecomment-176480756","issue_url":"https://api.github.com/repos/novus/nvd3/issues/1463","id":176480756,"user":{"login":"jamiis","id":831775,"avatar_url":"https://avatars.githubusercontent.com/u/831775?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiis","html_url":"https://github.com/jamiis","followers_url":"https://api.github.com/users/jamiis/followers","following_url":"https://api.github.com/users/jamiis/following{/other_user}","gists_url":"https://api.github.com/users/jamiis/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiis/subscriptions","organizations_url":"https://api.github.com/users/jamiis/orgs","repos_url":"https://api.github.com/users/jamiis/repos","events_url":"https://api.github.com/users/jamiis/events{/privacy}","received_events_url":"https://api.github.com/users/jamiis/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T23:34:54Z","updated_at":"2016-01-28T23:34:54Z","body":"this is my current solution that I'm using outside of nvd3\r\n\r\n```\r\nd3.select(window).on(\"scroll.\"+chart.id(), function() {\r\n    chart.tooltip.hidden(true);\r\n    chart.interactiveLayer.tooltip.hidden(true);\r\n});\r\n```\r\n\r\nwhere `chart` is a nvd3 chart. I hide both the regular tooltip and the interactiveLayer tooltip to cover both cases for `userInteractiveGuidelines`."}}