-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datepicker UI becomes ambiguous when changing the date programmatically #858
Comments
+1 Got the same problem in my component. |
+1 |
valorkin
pushed a commit
that referenced
this issue
Oct 4, 2016
jtomaszewski
pushed a commit
to jtomaszewski/ng2-bootstrap
that referenced
this issue
Oct 22, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you change the bound date programmatically, the UI is very ambiguous about which date is selected.
In this screenshot, the 19th is the selected date, the 20th is the last date the user has clicked on with the mouse, the 18th is the current date, and the month has been changed using the left and right arrows a few time such that the 1st appears 'pressed'. The currently selected date should be made visually distinct from all the other dates in some way, preferably with a css class that could be overwritten by apps using the datepicker component.
Example code to reproduce:
Remember to change the month a few times or you will not see the behavior I have described.
The text was updated successfully, but these errors were encountered: