| Issue 287: | Resizing / Moving events don't align properly with slot lines on agenda views | |
| 1 person starred this issue and may be notified of changes. | Back to list |
When dragging / resizing an event, for more than 3 or 4 slot lines, when you release event so that it snaps to the line, it is off by a good bit. Often times, by a one or more lines. I think I see where this is happening in the code, but would like some advice from Adam on what his strategy was, and if you have any thoughts on how it could be improved. Thanks!
Jan 19, 2010
Project Member
#1
adamrs...@gmail.com
Jan 19, 2010
I don't think that's the problem. I have the time slots set to 5min and they align perfectly once rendered, but the further away from the "start state" when I start dragging or resizing the event, the further off they get.
Jan 20, 2010
hi adam, i think i see where the problem is, but haven't gotten started trying to address it. were you able to reproduce the error with 5min slots? thanks for the help!
Feb 4, 2010
hi adam, I just got the 1.4.4, and it's still having this problem. I set the 'slotMinutes' to '5' and it's still not aligning while dragging or resizing. I see there are some Math.floor, Math.round calls in the code around the area where you'd be doing something with this, so I was wondering if you could offer some advice on what you're doing in these areas, so maybe I could come up with a solution if you don't have time. thanks for all your work adam!
Feb 5, 2010
hi travis, sorry i couldn't get this out for 1.4.4. in the next release i'll probably be focusing on minor bugfixes and improvements (in contrast on the huge changes i did in 1.4.4 for optimization) so this will probably get in there.
Status:
Accepted
Feb 5, 2010
thanks adam! much appreciated ;)
Feb 16, 2010
much to my dismay, i've tried to get this to work, but without success, once again. Thanks for your help on this Adam!
Feb 22, 2010
hi travis, i was trying to recreate this when bugfixing for 1.4.5, but was unable. it might have something to do with your css or other fullcalendar settings you are using. could you post a zip file, complete with a working html file (using an array event source), and all js/css files, that demonstrates the problem? i will take a look at it. thanks, adam
Status:
New
Feb 24, 2010
hi adam, I've setup a test on a domain I own, and like you said, it works great. there must be something i'm doing with the page its included on, inside my webapp. possibly line-height? etc? i have no idea why it would work different on my internal web app. if you have any "gotcha's" for me to look out for when investigating, please send them along. thanks for all your help, the code is looking great! love the new 1.4.5 improvements.
Feb 26, 2010
hmm thats really weird. i can't think of anything off the top of my head. the calendar is supposed to adjust to whatever the css tells the height of the slots to be. one question though... when you drag the event up or down, do the scrollbars move with it? they are not supposed to. if they are, fullcalendar is probably confused
Status:
Done
Aug 12, 2014
Did you ever figure out what this was? I'm getting the same issue on a project I'm working on...
Aug 14, 2014
@jmspargur, can you please post a fresh issue tracker ticket for this and follow the instructions for including a recreation? thanks |
|
| ► Sign in to add a comment |