{"action":"created","issue":{"url":"https://api.github.com/repos/Pomax/react-onclickoutside/issues/130","repository_url":"https://api.github.com/repos/Pomax/react-onclickoutside","labels_url":"https://api.github.com/repos/Pomax/react-onclickoutside/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/Pomax/react-onclickoutside/issues/130/comments","events_url":"https://api.github.com/repos/Pomax/react-onclickoutside/issues/130/events","html_url":"https://github.com/Pomax/react-onclickoutside/issues/130","id":176280575,"number":130,"title":"Scrollbar click and/or drag causes close to fire","user":{"login":"Rodeoclash","id":63807,"avatar_url":"https://avatars.githubusercontent.com/u/63807?v=3","gravatar_id":"","url":"https://api.github.com/users/Rodeoclash","html_url":"https://github.com/Rodeoclash","followers_url":"https://api.github.com/users/Rodeoclash/followers","following_url":"https://api.github.com/users/Rodeoclash/following{/other_user}","gists_url":"https://api.github.com/users/Rodeoclash/gists{/gist_id}","starred_url":"https://api.github.com/users/Rodeoclash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rodeoclash/subscriptions","organizations_url":"https://api.github.com/users/Rodeoclash/orgs","repos_url":"https://api.github.com/users/Rodeoclash/repos","events_url":"https://api.github.com/users/Rodeoclash/events{/privacy}","received_events_url":"https://api.github.com/users/Rodeoclash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-12T02:03:59Z","updated_at":"2016-09-12T03:54:36Z","closed_at":null,"body":"This is a tricky one because technically it could be the correct behaviour.\r\n\r\nIf the user clicks and drags a top level scrollbar in the browser chrome, it will fire the on close event. Here's an example of a floating navigation bar with content underneath it. You can see me dragging it, then opening the popup and trying to do the same thing. The popup will fire the `handleClickOutside` and close on mousedown on the scrollbar.\r\n\r\nhttps://www.youtube.com/watch?v=rVA6F9hFgM4\r\n"},"comment":{"url":"https://api.github.com/repos/Pomax/react-onclickoutside/issues/comments/246237948","html_url":"https://github.com/Pomax/react-onclickoutside/issues/130#issuecomment-246237948","issue_url":"https://api.github.com/repos/Pomax/react-onclickoutside/issues/130","id":246237948,"user":{"login":"Pomax","id":177243,"avatar_url":"https://avatars.githubusercontent.com/u/177243?v=3","gravatar_id":"","url":"https://api.github.com/users/Pomax","html_url":"https://github.com/Pomax","followers_url":"https://api.github.com/users/Pomax/followers","following_url":"https://api.github.com/users/Pomax/following{/other_user}","gists_url":"https://api.github.com/users/Pomax/gists{/gist_id}","starred_url":"https://api.github.com/users/Pomax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pomax/subscriptions","organizations_url":"https://api.github.com/users/Pomax/orgs","repos_url":"https://api.github.com/users/Pomax/repos","events_url":"https://api.github.com/users/Pomax/events{/privacy}","received_events_url":"https://api.github.com/users/Pomax/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T03:54:36Z","updated_at":"2016-09-12T03:54:36Z","body":"Is this the built-in scrollbar?"}}
{"actor":{"display_login":"Pomax"}}