{"action":"created","issue":{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/1723","labels_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/1723/labels{/name}","comments_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/1723/comments","events_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/1723/events","html_url":"https://github.com/Semantic-Org/Semantic-UI/issues/1723","id":55627430,"number":1723,"title":"[Popup] offset bug when target is hidden","user":{"login":"larsbo","id":754074,"avatar_url":"https://avatars.githubusercontent.com/u/754074?v=3","gravatar_id":"","url":"https://api.github.com/users/larsbo","html_url":"https://github.com/larsbo","followers_url":"https://api.github.com/users/larsbo/followers","following_url":"https://api.github.com/users/larsbo/following{/other_user}","gists_url":"https://api.github.com/users/larsbo/gists{/gist_id}","starred_url":"https://api.github.com/users/larsbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsbo/subscriptions","organizations_url":"https://api.github.com/users/larsbo/orgs","repos_url":"https://api.github.com/users/larsbo/repos","events_url":"https://api.github.com/users/larsbo/events{/privacy}","received_events_url":"https://api.github.com/users/larsbo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/labels/Discussion","name":"Discussion","color":"777777"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-27T14:55:15Z","updated_at":"2015-01-27T21:16:27Z","closed_at":null,"body":"When you define a hidden element (e.g. the `select` element of a `dropdown`) as popup target the popup is not placed correctly.\r\nSee an example here: http://jsfiddle.net/o0mwfwo6/1/\r\n\r\nI guess the source of this problem is jQuery's `offset` computation which cannot handle hidden elements. But perhaps we can do better? :smile: "},"comment":{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/comments/71729577","html_url":"https://github.com/Semantic-Org/Semantic-UI/issues/1723#issuecomment-71729577","issue_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/1723","id":71729577,"user":{"login":"larsbo","id":754074,"avatar_url":"https://avatars.githubusercontent.com/u/754074?v=3","gravatar_id":"","url":"https://api.github.com/users/larsbo","html_url":"https://github.com/larsbo","followers_url":"https://api.github.com/users/larsbo/followers","following_url":"https://api.github.com/users/larsbo/following{/other_user}","gists_url":"https://api.github.com/users/larsbo/gists{/gist_id}","starred_url":"https://api.github.com/users/larsbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsbo/subscriptions","organizations_url":"https://api.github.com/users/larsbo/orgs","repos_url":"https://api.github.com/users/larsbo/repos","events_url":"https://api.github.com/users/larsbo/events{/privacy}","received_events_url":"https://api.github.com/users/larsbo/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T21:16:27Z","updated_at":"2015-01-27T21:16:27Z","body":"My use-case is a collection of dynamically generated select elements converted to `dropdown` modules which should get a popover triggered by another element (like in the fiddle).\r\nThe select elements have ids for easy querying.\r\nThat's why I tried to use the selects but It would also possible to use `next()` or `nearest()` to get the generated `.dropdown` I think."}}