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

feature(color-picker, time-picker): Provide mobile variant of picker popup #170

Open
motabass opened this issue Sep 20, 2020 · 2 comments
Open

Comments

@motabass
Copy link
Contributor

Right now using the pickers on small mobile devices can get cut off:
image

MatDatePicker solves this by using a centered popup for mobile devices

@jamesrusso
Copy link

I agree that simply centered would be the reasonable solution here and it should be possible to just use the underlying CDK overlay functionality "centerHorizontally" & "centerVertically" for certain viewport sizes maybe?

@motabass
Copy link
Contributor Author

I did a workaround for now which prevents it from being cut-off but still does not center it:
2cda8bd

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

No branches or pull requests

3 participants