mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge pull request #576 from awlosnie/master
Fixed issue #575 from xdan repository - setPos lost positioning feature
This commit is contained in:
commit
1d58f602c4
@ -2018,8 +2018,8 @@
|
||||
verticalPosition -= windowScrollTop;
|
||||
}
|
||||
} else {
|
||||
if (verticalPosition + dateInputElem.offsetHeight > windowHeight + windowScrollTop) {
|
||||
verticalPosition = dateInputOffset.top - dateInputElem.offsetHeight + 1;
|
||||
if (verticalPosition + datetimepicker[0].offsetHeight > windowHeight + windowScrollTop) {
|
||||
verticalPosition = dateInputOffset.top - datetimepicker[0].offsetHeight + 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user