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 was archived by the owner on May 29, 2019. It is now read-only.
I've noticed that when setting is-open to true using an ng-click on the text element itself the date picker popup opens and closes as you would expect. However, if you move the ng-click to a separate button (the calendar glyph for instance) that this does not work.
The solution is the pass $event and then call $event.stopPropagation(). This is a behaviour is little unexpected and prompts these questions:
Is this intentional / would someone be able to explain why this works the way it does?
Would it be worth making the documentation spell this behaviour out a little more clearly? I've stumbled over this a couple of times now and ended up writing this up to remind myself in future. I can't be the only person this has confused...