-
Bug
-
Resolution: Done
-
Normal
-
2.1.5
-
Security Level: Jimmy
-
None
Reproducible sample:
<zk> <zscript><![CDATA[ import org.zkoss.calendar.impl.SimpleCalendarEvent; import org.zkoss.calendar.impl.SimpleCalendarModel; import java.util.Calendar; public void init() { SimpleCalendarModel model = new SimpleCalendarModel(); SimpleCalendarEvent event = new SimpleCalendarEvent(); Calendar cal = Calendar.getInstance(); cal.set(Calendar.MINUTE, 0); cal.set(Calendar.SECOND, 0); event.setBeginDate(cal.getTime()); cal.add(Calendar.HOUR_OF_DAY, 10); event.setEndDate(cal.getTime()); model.add(event); mycal.setModel(model); } ]]></zscript> <borderlayout> <center autoscroll="true"> <calendars id="mycal" onCreate="init()" width="2000px" height="2000px"/> </center> </borderlayout> </zk>
Excepted: Ghost of the dragged event should followed by mouse position.
Actual: Ghost of the dragged event jumped to wrong position.
- relates to
-
ZKCAL-55 Problems with horizontal scrollbar
- Closed