{"action":"created","issue":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/2167","repository_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap","labels_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/2167/labels{/name}","comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/2167/comments","events_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/2167/events","html_url":"https://github.com/react-bootstrap/react-bootstrap/issues/2167","id":172681931,"number":2167,"title":"pullRight on Dropdown doesn't work","user":{"login":"AnderssonChristian","id":12988898,"avatar_url":"https://avatars.githubusercontent.com/u/12988898?v=3","gravatar_id":"","url":"https://api.github.com/users/AnderssonChristian","html_url":"https://github.com/AnderssonChristian","followers_url":"https://api.github.com/users/AnderssonChristian/followers","following_url":"https://api.github.com/users/AnderssonChristian/following{/other_user}","gists_url":"https://api.github.com/users/AnderssonChristian/gists{/gist_id}","starred_url":"https://api.github.com/users/AnderssonChristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnderssonChristian/subscriptions","organizations_url":"https://api.github.com/users/AnderssonChristian/orgs","repos_url":"https://api.github.com/users/AnderssonChristian/repos","events_url":"https://api.github.com/users/AnderssonChristian/events{/privacy}","received_events_url":"https://api.github.com/users/AnderssonChristian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-23T12:05:40Z","updated_at":"2016-08-23T12:36:46Z","closed_at":"2016-08-23T12:36:46Z","body":"I have the following jsx:\r\n\r\n```\r\n<Dropdown id={\"cm_\" + id} pullRight>\r\n   <Dropdown.Toggle noCaret></Dropdown.Toggle>\r\n   <Dropdown.Menu>\r\n      <MenuItem onClick={this.foo}>Foo</MenuItem>\r\n      <MenuItem onClick={this.bar}>Bar</MenuItem>\r\n   </Dropdown.Menu>\r\n</Dropdown>\r\n```\r\n\r\nThis generates the following markup:\r\n\r\n```\r\n<div class=\"pull-right dropdown btn-group\">\r\n   <button id=\"cm_56\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\" type=\"button\" class=\"dropdown-toggle btn btn-default\"></button>\r\n   <ul role=\"menu\" class=\"dropdown-menu dropdown-menu-right\" aria-labelledby=\"cm_56\">\r\n      <li role=\"presentation\" class=\"\">\r\n         <a role=\"menuitem\" tabindex=\"-1\" href=\"\">Foo</a>\r\n      </li>\r\n      <li role=\"presentation\" class=\"\">\r\n         <a role=\"menuitem\" tabindex=\"-1\" href=\"\">Bar</a>\r\n      </li>\r\n   </ul>\r\n</div>\r\n```\r\n\r\nHowever, the `dropdown-menu-right` does not apply any styles, as if such class doesn't exist.\r\nIf I replace it with the deprecated `pull-right` class however, it works.\r\n\r\nI've looked for a while now and I cannot find what the possible cause may be. Perhaps I'm missing something, but it seems to me like a bug in react-bootstrap?"},"comment":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/comments/241716568","html_url":"https://github.com/react-bootstrap/react-bootstrap/issues/2167#issuecomment-241716568","issue_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/2167","id":241716568,"user":{"login":"AnderssonChristian","id":12988898,"avatar_url":"https://avatars.githubusercontent.com/u/12988898?v=3","gravatar_id":"","url":"https://api.github.com/users/AnderssonChristian","html_url":"https://github.com/AnderssonChristian","followers_url":"https://api.github.com/users/AnderssonChristian/followers","following_url":"https://api.github.com/users/AnderssonChristian/following{/other_user}","gists_url":"https://api.github.com/users/AnderssonChristian/gists{/gist_id}","starred_url":"https://api.github.com/users/AnderssonChristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnderssonChristian/subscriptions","organizations_url":"https://api.github.com/users/AnderssonChristian/orgs","repos_url":"https://api.github.com/users/AnderssonChristian/repos","events_url":"https://api.github.com/users/AnderssonChristian/events{/privacy}","received_events_url":"https://api.github.com/users/AnderssonChristian/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T12:36:46Z","updated_at":"2016-08-23T12:36:46Z","body":"I did upgrade all bootstrap files, but the problem persisted. Turns out I had to restart Chrome for it to work, presumably for the cache to clear. I should've realized sooner as it's not the first time I've had to do that. Thank you though."}}
{"actor":{"display_login":"AnderssonChristian"}}