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

Date Picker position #307

Open
MrTomAsh opened this issue Feb 15, 2019 · 1 comment
Open

Date Picker position #307

MrTomAsh opened this issue Feb 15, 2019 · 1 comment

Comments

@MrTomAsh
Copy link

Hi,

I'm trying to add your date picker (which is great!) to my project in the filters section.

My problem is that the filter box is a small pop-up box on the right. To make your date picker work I had to make the filters wider what's not the best solution as we don't need as much space.

Instead, it will be better to be able to position the calendar with the css or class.

Please have a look at the positioning here:
http://outbrain.github.io/pure-angular-date-range-picker/

I've noticed that the position is calculated in JS what makes it much more difficult to adjust.

screenshot 2019-02-15 at 09 21 05

Many thanks for your work!

@phazei
Copy link
Contributor

phazei commented Mar 18, 2019

http://www.daterangepicker.com/#config

If you change the "opens" option you can change the alignment to align to the right or center instead. I think that should help. Otherwise, that'd be beyond the scope of this angular wrapper and you'd probably want to ask about it here https://github.com/dangrossman/daterangepicker

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

2 participants