-
Notifications
You must be signed in to change notification settings - Fork 6.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
datepicker: automatic positioning #4406
Labels
feature
This issue represents a new feature or feature request rather than a bug or bug fix
Comments
kara
added
the
feature
This issue represents a new feature or feature request rather than a bug or bug fix
label
May 9, 2017
Reassigning as discussed with @mmalerba. Also to continue the discussion from #4627, I've looked into it a bit and there are a couple of issues:
|
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
May 20, 2017
* Adds fallback positions to the datepicker popup, allowing it to reposition in the cases where it would've gone outside the viewport. * Fixes an issue that prevented the datepicker from the being positioned properly on the first open due to the calendar not being rendered yet. * Adds a scroll strategy to reposition the datepicker when the user scrolls away. * Switches to using `ngSwitch` instead of `ngIf` when determining which view to render. Fixes angular#4406.
This was referenced May 20, 2017
Closed
This was referenced May 24, 2017
tinayuangao
pushed a commit
that referenced
this issue
May 26, 2017
* feat(datepicker): popup positioning improvements * Adds fallback positions to the datepicker popup, allowing it to reposition in the cases where it would've gone outside the viewport. * Fixes an issue that prevented the datepicker from the being positioned properly on the first open due to the calendar not being rendered yet. * Adds a scroll strategy to reposition the datepicker when the user scrolls away. * Switches to using `ngSwitch` instead of `ngIf` when determining which view to render. Fixes #4406. * chore: unused imports
Closed
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
it should open up when there's not enough space at the bottom, otherwise it's gonna be completely unaccessible
The text was updated successfully, but these errors were encountered: