Due to the library algorithm to place the datetimepicker, the div containing the input was no longer relative so the caret was misplaced. Put back the position relative and place the datetimepicker relative to the input.
6f8e40c
be9dfb331f