We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using ngbDatepicker with the container set as "body", opening the datepicker popup causes the screen to scroll to the bottom of the page.
https://angular-ivy-q3pj7e.stackblitz.io
Angular: 13.3.0 ng-bootstrap: 12.0.0 Bootstrap: 5.1.3
The text was updated successfully, but these errors were encountered:
Works with ng-bootstrap < 12, looks like focus is set before popup is positioned with popper
Sorry, something went wrong.
fix(datepicker): do not scroll when opening with container='body'
305cc2b
Delaying setting focus until after the popup is positioned with popper. Fixes ng-bootstrap#4290
fix(datepicker): do not scroll when opening with container='body' (#4294
112b507
) Delaying setting focus until after the popup is positioned with popper. Fixes #4290
Successfully merging a pull request may close this issue.
Bug description:
When using ngbDatepicker with the container set as "body", opening the datepicker popup causes the screen to scroll to the bottom of the page.
Link to minimally-working StackBlitz that reproduces the issue:
https://angular-ivy-q3pj7e.stackblitz.io
Versions of Angular, ng-bootstrap and Bootstrap:
Angular: 13.3.0
ng-bootstrap: 12.0.0
Bootstrap: 5.1.3
The text was updated successfully, but these errors were encountered: