Skip to content

Commit 83e45ad

Browse files
authored
fix(calendar): popup should not close when its trigger event is not click
* fix(calendar): focus event listener closes the popup on window click * fix(calendar): popup should only close on window click if the calendar is on click too
1 parent 1d6ea76 commit 83e45ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/definitions/modules/calendar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ $.fn.calendar = function(parameters) {
165165
popup: $container,
166166
on: on,
167167
hoverable: on === 'hover',
168+
closable: on === 'click',
168169
onShow: onShow,
169170
onVisible: onVisible,
170171
onHide: settings.onHide,

0 commit comments

Comments
 (0)