Steps to Reproduce
<zk> <bandbox> <bandpopup> <datebox/> </bandpopup> </bandbox> </zk>
1. click the icon to open the bandbox popup
2. click the calenar icon to open the datebox popup
3. click any day (without prior interaction with other datebox controls, like year selection)
see bandbox-closing-too-early-when-clicking-day.mp4
Current Result
a) -> the bandbox closes TOO EARLY during the mousedown event
b) -> on mouseup also the datebox popup closes (OK)
Expected Result
only a datebox popup closes
Debug info
- when za11y.jar is on the classpath the issue doesn't happen (as on ZKfiddle). The issue only reproduces when za11y.jar is not loaded
Workaround1
workaround2
zk.afterLoad('zul.db', function() {
var xCalendarPop = {};
zk.override(zul.db.CalendarPop.prototype, xCalendarPop, {
bind_ : function()
});//zk.override
});//zk.afterLoad