{"action":"opened","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/6132","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-js","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/6132/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/6132/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/6132/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/6132","id":296253977,"number":6132,"title":"Minimum size for boxzoom (suggestion)","user":{"login":"stevage","id":678344,"avatar_url":"https://avatars3.githubusercontent.com/u/678344?v=4","gravatar_id":"","url":"https://api.github.com/users/stevage","html_url":"https://github.com/stevage","followers_url":"https://api.github.com/users/stevage/followers","following_url":"https://api.github.com/users/stevage/following{/other_user}","gists_url":"https://api.github.com/users/stevage/gists{/gist_id}","starred_url":"https://api.github.com/users/stevage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevage/subscriptions","organizations_url":"https://api.github.com/users/stevage/orgs","repos_url":"https://api.github.com/users/stevage/repos","events_url":"https://api.github.com/users/stevage/events{/privacy}","received_events_url":"https://api.github.com/users/stevage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-12T02:49:38Z","updated_at":"2018-02-12T02:49:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"In my map I have an interaction where shift-clicking does something. One issue is that if the mouse moves even slightly during the process of shift-clicking, it triggers a box-zoom, to a tiny box.\r\n\r\nMy suggestion: don't trigger a box-zoom if the box is less than X by X pixels, where X is something like 20.\r\n\r\nThere doesn't seem to be any way for me intercept the boxzoom handler and reject it, so my workaround for now is to disable boxzoom any time that the shift-click feature is available."}}
{"actor":{"display_login":"stevage"}}