fetrarij / ngx-daterangepicker-material

Pure Angular 2+ date range picker with material design theme, a demo here:
https://fetrarij.github.io/ngx-daterangepicker-material/
MIT License
246 stars 247 forks source link

Picker div appears with the wrong "left" CSS property when the associated input is within an X scrollable parent div #466

Open manwithtwowatches opened 1 year ago

manwithtwowatches commented 1 year ago

Versions 5.0.2

Describe the bug If the associated input element is within a parent div which is scrollable in the x dimension, the "left" CSS property of the picker's main div does not compensate for the extra x pixels that may have been scrolled. The result is that the picker appears off to the right of the input, the distance which has been scrolled being added to the "left" property.