-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(dropdown): dropdown does not take into account page boundaries #2998
Comments
It is possible to create directive for |
Same / similar issue can happen with tooltip. |
Its not dropdown issue, its possitioning issue |
i'm using "ngx-bootstrap/popover", "version": "3.1.3" |
Same for me for dropdown. |
Still occurring for me too |
As @valorkin mentioned, positioning engine needs some additional work to handle such cases properly. I created simple wrapper for popper which you can check here: https://stackblitz.com/edit/angular-msq1rb If you like it, I can spent some time to deliver it as PR. |
Bug description or feature request:
If I have a button on the top right of the page which opens a dropdown, the dropdown opens but appears largely off screen. The dropdown should instead be shifted so that it is fully visible. Note, using placement option also does not correct this.
Plunker/StackBlitz that reproduces the issue:
https://stackblitz.com/edit/ngx-bootstrap-f3spbf?file=app/app.component.html
Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap: 1.9.3
Angular: 4.4.6
Bootstrap: 3.3.6
Build system: Angular CLI, System.js, webpack, starter seed:
CLI, Webpack & SystemJS
The text was updated successfully, but these errors were encountered: