Calendar onClose event is fired even if overlay is not visible #3826
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
http://plnkr.co/edit/opEfAscX5syzD1wY0KZo?p=preview
Current behavior
Calendar onClose event is fired even if overlay is not visible. Basically it's fired on every document click outside of calendar overlay.
Expected behavior
Event should be fired only when calendar/overlay is actually being closed.
PrimeNG version: 4.1.3
Browser: all
The text was updated successfully, but these errors were encountered: