Closed GoogleCodeExporter closed 9 years ago
I was also running into issues with TimeBlockClickEvents giving different
target dates than expected, which may be related. This occurred when the window
was scrolled vertically. I fixed the issue (using code from version 427), at
least for my configuration, by changing DayView.onSingleClick()'s
int y = DOM.eventGetClientY(event);
to
int y = DOM.eventGetClientY(event)+Window.getScrollTop();
Original comment by Willia...@gmail.com
on 7 Sep 2012 at 6:02
Same problem when the window was scrolled horizontally.
Another way to fix it. Changing DayView.timeBlockClick()
int relativeY = y - top + scrollOffset;
int relativeX = x - left;
to
int relativeY = y - top + scrollOffset + Window.getScrollTop();
int relativeX = x - left + Window.getScrollLeft();
Original comment by dom....@gmail.com
on 8 Sep 2012 at 6:16
I cannot replicate using the latest 0.94-SNAPSHOT trunk code.
Can any of you try it? If you can replicate, can you provide some code example
to replicate? Maybe a patch with the needed changes to the gwt-cal-demo code.
Thanks
Original comment by ctasada
on 15 Sep 2012 at 8:42
Fixed in r431.
To replicate was needed to remove the autosizing from the get-cal-demo code and
increase the calendar's height
Original comment by ctasada
on 10 Oct 2012 at 10:34
Original issue reported on code.google.com by
a.wiek...@gmail.com
on 4 Jan 2012 at 12:00