The vertical position of the picker is completely reset before the new position is applied to prevent interference from previous values.

This commit is contained in:
Dan Bettles 2016-03-11 12:48:34 +00:00
parent 1b4fad11b3
commit 33d1338268
4 changed files with 8 additions and 4 deletions

View File

@ -2572,8 +2572,10 @@ var DateFormatter;
});
datetimepickerCss = {
position: position,
left: left,
position: position
top: '', //Initialize to prevent previous values interfering with new ones.
bottom: '' //Initialize to prevent previous values interfering with new ones.
};
datetimepickerCss[verticalAnchorEdge] = verticalPosition;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1996,8 +1996,10 @@
});
datetimepickerCss = {
position: position,
left: left,
position: position
top: '', //Initialize to prevent previous values interfering with new ones.
bottom: '' //Initialize to prevent previous values interfering with new ones.
};
datetimepickerCss[verticalAnchorEdge] = verticalPosition;