{"action":"closed","issue":{"url":"https://api.github.com/repos/palantir/blueprint/issues/3112","repository_url":"https://api.github.com/repos/palantir/blueprint","labels_url":"https://api.github.com/repos/palantir/blueprint/issues/3112/labels{/name}","comments_url":"https://api.github.com/repos/palantir/blueprint/issues/3112/comments","events_url":"https://api.github.com/repos/palantir/blueprint/issues/3112/events","html_url":"https://github.com/palantir/blueprint/issues/3112","id":376500989,"node_id":"MDU6SXNzdWUzNzY1MDA5ODk=","number":3112,"title":"Allow explicit relative coordinates for Popover component","user":{"login":"tmanderson","id":594958,"node_id":"MDQ6VXNlcjU5NDk1OA==","avatar_url":"https://avatars3.githubusercontent.com/u/594958?v=4","gravatar_id":"","url":"https://api.github.com/users/tmanderson","html_url":"https://github.com/tmanderson","followers_url":"https://api.github.com/users/tmanderson/followers","following_url":"https://api.github.com/users/tmanderson/following{/other_user}","gists_url":"https://api.github.com/users/tmanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/tmanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmanderson/subscriptions","organizations_url":"https://api.github.com/users/tmanderson/orgs","repos_url":"https://api.github.com/users/tmanderson/repos","events_url":"https://api.github.com/users/tmanderson/events{/privacy}","received_events_url":"https://api.github.com/users/tmanderson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-01T17:54:33Z","updated_at":"2018-11-02T15:36:16Z","closed_at":"2018-11-02T15:36:16Z","author_association":"NONE","body":"#### Feature request\r\n\r\nThe Popover component is great, but since v1 it's been lacking one thing – the ability to provide relative coordinates for the Popover element itself. This is particularly useful when positioning a single popover dynamically based on some user event (eg. `mouseDown`).\r\n\r\nThere is clearly a `translate3d` with `x` and `y` coordinates for the Popover and I've always wound up having to hack around the limitations on the component to position the Popover precisely.\r\n\r\nAllowing the `position` prop to override the same coordinates used in `translate3d` would suffice.\r\n\r\nThanks!\r\n\r\n#### Examples\r\nAssuming I have some mouse event, `event`:\r\n```jsx\r\n<Popover position={[event.target.offsetLeft, event.target.offsetTop]} content={...} target={...} />\r\n```"}}
{"actor":{"display_login":"tmanderson"}}