angular-daterangepicker icon indicating copy to clipboard operation
angular-daterangepicker copied to clipboard

Date Picker position

Open MrTomAsh opened this issue 6 years ago • 1 comments

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!

MrTomAsh avatar Feb 15 '19 09:02 MrTomAsh

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

phazei avatar Mar 18 '19 17:03 phazei