Skip to content
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

Datepicker year selection taking up whole screen space #3969

Open
metodribic opened this issue Jan 25, 2021 · 0 comments
Open

Datepicker year selection taking up whole screen space #3969

metodribic opened this issue Jan 25, 2021 · 0 comments

Comments

@metodribic
Copy link

Bug description:

This is more of a feature request than it is a bug report since I know this is default behaviour of <select> element. If I set minDate to be far in the past and maxDate far into the future I end up with something like this:
Screenshot 2021-01-25 at 08 11 13

Screenshot is taken on macOS on Chrome 87.

We probably all agree that this king of appearance is not very pleasing to see and use. Since <select> is not very "customisation-friendly" I was wondering if there is option to replace native <select> inside datepicker-navigation-select.ts with something more customisable (e.g.: ngb-dropdown)?

If there is interest in this kind of a change I'm willing to help implement it.

Link to minimally-working StackBlitz that reproduces the issue:

Link to stackblitz

Versions of Angular, ng-bootstrap and Bootstrap:

Angular: 10.1.6
ng-bootstrap: 6.0.2
Bootstrap: 4.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant