{"action":"closed","number":42,"pull_request":{"url":"https://api.github.com/repos/arendjr/selectivity/pulls/42","id":35266344,"html_url":"https://github.com/arendjr/selectivity/pull/42","diff_url":"https://github.com/arendjr/selectivity/pull/42.diff","patch_url":"https://github.com/arendjr/selectivity/pull/42.patch","issue_url":"https://api.github.com/repos/arendjr/selectivity/issues/42","number":42,"state":"closed","locked":false,"title":"Use outerWidth for dropdown's width, if possible","user":{"login":"msx2","id":1129643,"avatar_url":"https://avatars.githubusercontent.com/u/1129643?v=3","gravatar_id":"","url":"https://api.github.com/users/msx2","html_url":"https://github.com/msx2","followers_url":"https://api.github.com/users/msx2/followers","following_url":"https://api.github.com/users/msx2/following{/other_user}","gists_url":"https://api.github.com/users/msx2/gists{/gist_id}","starred_url":"https://api.github.com/users/msx2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msx2/subscriptions","organizations_url":"https://api.github.com/users/msx2/orgs","repos_url":"https://api.github.com/users/msx2/repos","events_url":"https://api.github.com/users/msx2/events{/privacy}","received_events_url":"https://api.github.com/users/msx2/received_events","type":"User","site_admin":false},"body":"@arendjr I noticed that there are issues with dropdown's width if the element/input has paddings set, e.g. Bootstrap's horizontal form (and e.g. using my sample Rails application).\r\n\r\n![screen shot 2015-05-12 at 22 21 18](https://cloud.githubusercontent.com/assets/1129643/7597661/43d89902-f8f5-11e4-9706-0c998498842b.png)\r\n\r\nProblem is solved by using `outerWidth` instead of `width`. It does not change the behavior of the script, just assures such situation will work. :)","created_at":"2015-05-12T20:20:53Z","updated_at":"2015-05-13T07:33:34Z","closed_at":"2015-05-13T07:33:34Z","merged_at":"2015-05-13T07:33:34Z","merge_commit_sha":"838246419eeed0dc63a2243861de93bdc4eebf16","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arendjr/selectivity/pulls/42/commits","review_comments_url":"https://api.github.com/repos/arendjr/selectivity/pulls/42/comments","review_comment_url":"https://api.github.com/repos/arendjr/selectivity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arendjr/selectivity/issues/42/comments","statuses_url":"https://api.github.com/repos/arendjr/selectivity/statuses/0391c6db8ff16e9f68f612032061e5471ced8fdc","head":{"label":"msx2:master","ref":"master","sha":"0391c6db8ff16e9f68f612032061e5471ced8fdc","user":{"login":"msx2","id":1129643,"avatar_url":"https://avatars.githubusercontent.com/u/1129643?v=3","gravatar_id":"","url":"https://api.github.com/users/msx2","html_url":"https://github.com/msx2","followers_url":"https://api.github.com/users/msx2/followers","following_url":"https://api.github.com/users/msx2/following{/other_user}","gists_url":"https://api.github.com/users/msx2/gists{/gist_id}","starred_url":"https://api.github.com/users/msx2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msx2/subscriptions","organizations_url":"https://api.github.com/users/msx2/orgs","repos_url":"https://api.github.com/users/msx2/repos","events_url":"https://api.github.com/users/msx2/events{/privacy}","received_events_url":"https://api.github.com/users/msx2/received_events","type":"User","site_admin":false},"repo":{"id":32946900,"name":"selectivity","full_name":"msx2/selectivity","owner":{"login":"msx2","id":1129643,"avatar_url":"https://avatars.githubusercontent.com/u/1129643?v=3","gravatar_id":"","url":"https://api.github.com/users/msx2","html_url":"https://github.com/msx2","followers_url":"https://api.github.com/users/msx2/followers","following_url":"https://api.github.com/users/msx2/following{/other_user}","gists_url":"https://api.github.com/users/msx2/gists{/gist_id}","starred_url":"https://api.github.com/users/msx2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msx2/subscriptions","organizations_url":"https://api.github.com/users/msx2/orgs","repos_url":"https://api.github.com/users/msx2/repos","events_url":"https://api.github.com/users/msx2/events{/privacy}","received_events_url":"https://api.github.com/users/msx2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/msx2/selectivity","description":"Modular and light-weight selection library for jQuery and Zepto.js","fork":true,"url":"https://api.github.com/repos/msx2/selectivity","forks_url":"https://api.github.com/repos/msx2/selectivity/forks","keys_url":"https://api.github.com/repos/msx2/selectivity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/msx2/selectivity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/msx2/selectivity/teams","hooks_url":"https://api.github.com/repos/msx2/selectivity/hooks","issue_events_url":"https://api.github.com/repos/msx2/selectivity/issues/events{/number}","events_url":"https://api.github.com/repos/msx2/selectivity/events","assignees_url":"https://api.github.com/repos/msx2/selectivity/assignees{/user}","branches_url":"https://api.github.com/repos/msx2/selectivity/branches{/branch}","tags_url":"https://api.github.com/repos/msx2/selectivity/tags","blobs_url":"https://api.github.com/repos/msx2/selectivity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/msx2/selectivity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/msx2/selectivity/git/refs{/sha}","trees_url":"https://api.github.com/repos/msx2/selectivity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/msx2/selectivity/statuses/{sha}","languages_url":"https://api.github.com/repos/msx2/selectivity/languages","stargazers_url":"https://api.github.com/repos/msx2/selectivity/stargazers","contributors_url":"https://api.github.com/repos/msx2/selectivity/contributors","subscribers_url":"https://api.github.com/repos/msx2/selectivity/subscribers","subscription_url":"https://api.github.com/repos/msx2/selectivity/subscription","commits_url":"https://api.github.com/repos/msx2/selectivity/commits{/sha}","git_commits_url":"https://api.github.com/repos/msx2/selectivity/git/commits{/sha}","comments_url":"https://api.github.com/repos/msx2/selectivity/comments{/number}","issue_comment_url":"https://api.github.com/repos/msx2/selectivity/issues/comments{/number}","contents_url":"https://api.github.com/repos/msx2/selectivity/contents/{+path}","compare_url":"https://api.github.com/repos/msx2/selectivity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/msx2/selectivity/merges","archive_url":"https://api.github.com/repos/msx2/selectivity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/msx2/selectivity/downloads","issues_url":"https://api.github.com/repos/msx2/selectivity/issues{/number}","pulls_url":"https://api.github.com/repos/msx2/selectivity/pulls{/number}","milestones_url":"https://api.github.com/repos/msx2/selectivity/milestones{/number}","notifications_url":"https://api.github.com/repos/msx2/selectivity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/msx2/selectivity/labels{/name}","releases_url":"https://api.github.com/repos/msx2/selectivity/releases{/id}","created_at":"2015-03-26T19:12:13Z","updated_at":"2015-04-30T07:36:06Z","pushed_at":"2015-05-13T07:31:04Z","git_url":"git://github.com/msx2/selectivity.git","ssh_url":"git@github.com:msx2/selectivity.git","clone_url":"https://github.com/msx2/selectivity.git","svn_url":"https://github.com/msx2/selectivity","homepage":"https://arendjr.github.io/selectivity/","size":1075,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"arendjr:master","ref":"master","sha":"1f0fed15c21909088b26a3f987d0454aa63900c1","user":{"login":"arendjr","id":533294,"avatar_url":"https://avatars.githubusercontent.com/u/533294?v=3","gravatar_id":"","url":"https://api.github.com/users/arendjr","html_url":"https://github.com/arendjr","followers_url":"https://api.github.com/users/arendjr/followers","following_url":"https://api.github.com/users/arendjr/following{/other_user}","gists_url":"https://api.github.com/users/arendjr/gists{/gist_id}","starred_url":"https://api.github.com/users/arendjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arendjr/subscriptions","organizations_url":"https://api.github.com/users/arendjr/orgs","repos_url":"https://api.github.com/users/arendjr/repos","events_url":"https://api.github.com/users/arendjr/events{/privacy}","received_events_url":"https://api.github.com/users/arendjr/received_events","type":"User","site_admin":false},"repo":{"id":28592439,"name":"selectivity","full_name":"arendjr/selectivity","owner":{"login":"arendjr","id":533294,"avatar_url":"https://avatars.githubusercontent.com/u/533294?v=3","gravatar_id":"","url":"https://api.github.com/users/arendjr","html_url":"https://github.com/arendjr","followers_url":"https://api.github.com/users/arendjr/followers","following_url":"https://api.github.com/users/arendjr/following{/other_user}","gists_url":"https://api.github.com/users/arendjr/gists{/gist_id}","starred_url":"https://api.github.com/users/arendjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arendjr/subscriptions","organizations_url":"https://api.github.com/users/arendjr/orgs","repos_url":"https://api.github.com/users/arendjr/repos","events_url":"https://api.github.com/users/arendjr/events{/privacy}","received_events_url":"https://api.github.com/users/arendjr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arendjr/selectivity","description":"Modular and light-weight selection library for jQuery and Zepto.js","fork":false,"url":"https://api.github.com/repos/arendjr/selectivity","forks_url":"https://api.github.com/repos/arendjr/selectivity/forks","keys_url":"https://api.github.com/repos/arendjr/selectivity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arendjr/selectivity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arendjr/selectivity/teams","hooks_url":"https://api.github.com/repos/arendjr/selectivity/hooks","issue_events_url":"https://api.github.com/repos/arendjr/selectivity/issues/events{/number}","events_url":"https://api.github.com/repos/arendjr/selectivity/events","assignees_url":"https://api.github.com/repos/arendjr/selectivity/assignees{/user}","branches_url":"https://api.github.com/repos/arendjr/selectivity/branches{/branch}","tags_url":"https://api.github.com/repos/arendjr/selectivity/tags","blobs_url":"https://api.github.com/repos/arendjr/selectivity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arendjr/selectivity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arendjr/selectivity/git/refs{/sha}","trees_url":"https://api.github.com/repos/arendjr/selectivity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arendjr/selectivity/statuses/{sha}","languages_url":"https://api.github.com/repos/arendjr/selectivity/languages","stargazers_url":"https://api.github.com/repos/arendjr/selectivity/stargazers","contributors_url":"https://api.github.com/repos/arendjr/selectivity/contributors","subscribers_url":"https://api.github.com/repos/arendjr/selectivity/subscribers","subscription_url":"https://api.github.com/repos/arendjr/selectivity/subscription","commits_url":"https://api.github.com/repos/arendjr/selectivity/commits{/sha}","git_commits_url":"https://api.github.com/repos/arendjr/selectivity/git/commits{/sha}","comments_url":"https://api.github.com/repos/arendjr/selectivity/comments{/number}","issue_comment_url":"https://api.github.com/repos/arendjr/selectivity/issues/comments{/number}","contents_url":"https://api.github.com/repos/arendjr/selectivity/contents/{+path}","compare_url":"https://api.github.com/repos/arendjr/selectivity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arendjr/selectivity/merges","archive_url":"https://api.github.com/repos/arendjr/selectivity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arendjr/selectivity/downloads","issues_url":"https://api.github.com/repos/arendjr/selectivity/issues{/number}","pulls_url":"https://api.github.com/repos/arendjr/selectivity/pulls{/number}","milestones_url":"https://api.github.com/repos/arendjr/selectivity/milestones{/number}","notifications_url":"https://api.github.com/repos/arendjr/selectivity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arendjr/selectivity/labels{/name}","releases_url":"https://api.github.com/repos/arendjr/selectivity/releases{/id}","created_at":"2014-12-29T13:02:36Z","updated_at":"2015-05-10T18:53:37Z","pushed_at":"2015-05-13T07:33:34Z","git_url":"git://github.com/arendjr/selectivity.git","ssh_url":"git@github.com:arendjr/selectivity.git","clone_url":"https://github.com/arendjr/selectivity.git","svn_url":"https://github.com/arendjr/selectivity","homepage":"https://arendjr.github.io/selectivity/","size":1756,"stargazers_count":480,"watchers_count":480,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":22,"mirror_url":null,"open_issues_count":6,"forks":22,"open_issues":6,"watchers":480,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arendjr/selectivity/pulls/42"},"html":{"href":"https://github.com/arendjr/selectivity/pull/42"},"issue":{"href":"https://api.github.com/repos/arendjr/selectivity/issues/42"},"comments":{"href":"https://api.github.com/repos/arendjr/selectivity/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/arendjr/selectivity/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/arendjr/selectivity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arendjr/selectivity/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/arendjr/selectivity/statuses/0391c6db8ff16e9f68f612032061e5471ced8fdc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"arendjr","id":533294,"avatar_url":"https://avatars.githubusercontent.com/u/533294?v=3","gravatar_id":"","url":"https://api.github.com/users/arendjr","html_url":"https://github.com/arendjr","followers_url":"https://api.github.com/users/arendjr/followers","following_url":"https://api.github.com/users/arendjr/following{/other_user}","gists_url":"https://api.github.com/users/arendjr/gists{/gist_id}","starred_url":"https://api.github.com/users/arendjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arendjr/subscriptions","organizations_url":"https://api.github.com/users/arendjr/orgs","repos_url":"https://api.github.com/users/arendjr/repos","events_url":"https://api.github.com/users/arendjr/events{/privacy}","received_events_url":"https://api.github.com/users/arendjr/received_events","type":"User","site_admin":false},"comments":1,"review_comments":2,"commits":5,"additions":10,"deletions":6,"changed_files":4}}