| Issue 1302: | Changing agenda slot height breaks external draggable helper | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I have a fairly complex calendar set up using external draggable events. With the default .fc-agenda-slots td div {height: 20px} everything is fine, however if I change this height to any smaller value it displays the helper incorrectly when using external draggable events.
It highlights cells lower, or much lower (depending on the value of the slot height) than the mouse is hovering over. The smaller the value of height, the further away from the mouse it is.
On top of this the start time reported to the "drop" callback is consistent with where the helper is positioned in the calendar.
Feb 28, 2012
#1
Pcol...@gmail.com
Feb 28, 2012
Further to this, I also discovered that it's not just the draggable but any calculation of where the mouse is on the grid. So if I try to select a time range, it behaves using the 20px setting, irregardless of the set height.
May 3, 2012
I agree this is an issue, is there any resolution to this from anyone or what?
May 24, 2012
I have same issue, did any of you find the solution? Thank you.
May 25, 2012
you can change the height to auto or make sure .fc-agenda .fc-agenda-axis font-size is set smaller than .fc-agenda-slots td div's height. also for the drag element position, put absolute position on both the element and the calendar container.
Jun 6, 2013
Yes, I agree with XuesChen.
You can modify css like this
<style type="text/css">
.fc-agenda-slots td div {
height: 15px !important;
}
.fc-agenda-axis{
font-size: 6px !important;
height: 10px !important;
line-height: 10px !important;
}
</style>
Aug 15, 2013
(No comment was entered for this change.)
Status:
Duplicate
Mergedinto: 1035 |
|
| ► Sign in to add a comment |