Describe the bug
When using the ranges plugin with the "left" position, the box displaying the predefined ranges is placed to the left of the actual date picker, which is aligned with the left border of the input field. This can cause it to reach outside of the visible window (https://jsfiddle.net/x1pj2zmy/4/). Before version 2 the box containing the predefined ranges started on the same vertical line as the input field being used, which ensured that the entirety of the DatePicker was visible if the input field was entirely visible.
Describe the bug When using the ranges plugin with the "left" position, the box displaying the predefined ranges is placed to the left of the actual date picker, which is aligned with the left border of the input field. This can cause it to reach outside of the visible window (https://jsfiddle.net/x1pj2zmy/4/). Before version 2 the box containing the predefined ranges started on the same vertical line as the input field being used, which ensured that the entirety of the DatePicker was visible if the input field was entirely visible.
To Reproduce Steps to reproduce the behavior:
Expected behavior The left edge of the ranges box should be in line with the input field that the litepicker instance is using
jsfiddle.net / codepen.io / etc https://jsfiddle.net/yr185jdw/