You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 2, 2018. It is now read-only.
We are keeping the input field as editable so that user can enter date manually as opposed to selecting from picker. Basically keeping both options open for user to enter date. On focus of input field the datepicker pops out but if there's no sufficient space at bottom, it overlaps on input field which does not allow user to enter manually and also user can't see the field. One of the solution to solve this problem is we can show either the picker at bottom of the input field(which works fine) or on top on input field if there isn't enough space at bottom.
Please refer screen shots.
In datetime-picker.directive.ts, if we change line no. 348 as below -
Hi,
We are keeping the input field as editable so that user can enter date manually as opposed to selecting from picker. Basically keeping both options open for user to enter date. On focus of input field the datepicker pops out but if there's no sufficient space at bottom, it overlaps on input field which does not allow user to enter manually and also user can't see the field. One of the solution to solve this problem is we can show either the picker at bottom of the input field(which works fine) or on top on input field if there isn't enough space at bottom.
Please refer screen shots.
In datetime-picker.directive.ts, if we change line no. 348 as below -
(thisElBcr.bottom - window.innerHeight + nguiDatetimePickerElBcr.height - 15) + 'px';
Then picker is displayed properly on top or at bottom with respect to space available.
It would be great, if we bring up this change in plugin so that it would be much user friendly.
The text was updated successfully, but these errors were encountered: