Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Datepicker malfunctioning #3076

Closed
lekhnath opened this issue Dec 10, 2014 · 2 comments
Closed

Datepicker malfunctioning #3076

lekhnath opened this issue Dec 10, 2014 · 2 comments

Comments

@lekhnath
Copy link

If datepicker has child element it wont work. Asked for help in stackoverflow http://stackoverflow.com/questions/27395378/angular-ui-bootstrap-datepicker-malfunctioning

@chrisirhc
Copy link
Contributor

This is a bug on https://github.com/angular-ui/bootstrap/blob/master/src/datepicker/datepicker.js#L555 where it should be checking element[0].contains(event.target) instead of equality.

@wesleycho
Copy link
Contributor

Is this something to be fixed? I noticed this has been marked in Purgatory.

wesleycho added a commit to wesleycho/bootstrap that referenced this issue Aug 1, 2015
- Change check to contains due to improper check

Fixes angular-ui#3076
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants