Closed bodhisatwag closed 8 years ago
You're right, this is a new bug coming from my last correction. I unfortunately doubt to have time to fix it before next week. In the mean time "esc" close the picker.
I need to dig more, I tried a quick fix by adding inside "scope.bindevent" method a window.addEventListener("click", closepicker , true). Unfortunately this listener trap mouse click both inside and outside the picker.
If you have any idea of a good model to trap mouseclick when outside the picker, please let me know.
The Foundation/Bootstrap/jQuery datepickers close on clicking outside it. But this one does not. Please look into it. Might be a simple blody click event would work.