{"action":"closed","issue":{"url":"https://api.github.com/repos/valor-software/ngx-bootstrap/issues/4575","repository_url":"https://api.github.com/repos/valor-software/ngx-bootstrap","labels_url":"https://api.github.com/repos/valor-software/ngx-bootstrap/issues/4575/labels{/name}","comments_url":"https://api.github.com/repos/valor-software/ngx-bootstrap/issues/4575/comments","events_url":"https://api.github.com/repos/valor-software/ngx-bootstrap/issues/4575/events","html_url":"https://github.com/valor-software/ngx-bootstrap/issues/4575","id":355095097,"node_id":"MDU6SXNzdWUzNTUwOTUwOTc=","number":4575,"title":"Dropdown menu position at the viewport edge","user":{"login":"Disane87","id":956158,"node_id":"MDQ6VXNlcjk1NjE1OA==","avatar_url":"https://avatars3.githubusercontent.com/u/956158?v=4","gravatar_id":"","url":"https://api.github.com/users/Disane87","html_url":"https://github.com/Disane87","followers_url":"https://api.github.com/users/Disane87/followers","following_url":"https://api.github.com/users/Disane87/following{/other_user}","gists_url":"https://api.github.com/users/Disane87/gists{/gist_id}","starred_url":"https://api.github.com/users/Disane87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Disane87/subscriptions","organizations_url":"https://api.github.com/users/Disane87/orgs","repos_url":"https://api.github.com/users/Disane87/repos","events_url":"https://api.github.com/users/Disane87/events{/privacy}","received_events_url":"https://api.github.com/users/Disane87/received_events","type":"User","site_admin":false},"labels":[{"id":411843982,"node_id":"MDU6TGFiZWw0MTE4NDM5ODI=","url":"https://api.github.com/repos/valor-software/ngx-bootstrap/labels/comp(dropdown)","name":"comp(dropdown)","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-29T10:23:33Z","updated_at":"2018-10-25T10:47:38Z","closed_at":"2018-10-25T10:47:38Z","author_association":"NONE","body":"### Bug description or feature request:\r\nWe have a dropdown which is pretty near the right viewport border. We want to open the dropdown to the left side, to prevent an overflow over the right edge of the viewport. At the moment is looks like this:\r\n\r\n![image](https://user-images.githubusercontent.com/956158/44781206-06a04680-ab84-11e8-92a3-b2a2bb4018cd.png)\r\n \r\n\r\nWith the given options there is no possibility to achieve this. The menu should open into the left direction or auto (wenn the space to the right doesn't fit to show the entire menu):\r\n![image](https://user-images.githubusercontent.com/956158/44782036-3c462f00-ab86-11e8-9946-5d815ff1b80a.png)\r\n\r\n### Plunker/StackBlitz that reproduces the issue:\r\nhttps://stackblitz.com/edit/dropdown-menu-placement\r\n\r\n### Versions of ngx-bootstrap, Angular, and Bootstrap:\r\n\r\nngx-bootstrap: 2.0.5\r\n\r\nAngular: 5.2.11\r\n\r\nBootstrap: 4.1.2\r\n\r\n### Build system: Angular CLI, System.js, webpack, starter seed:\r\nAngular-CLI"}}
{"actor":{"display_login":"Domainv"}}