Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3494404
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:00:06+00:00 2026-05-18T12:00:06+00:00

I am stuck here and need some serious help. I had to do some

  • 0

I am stuck here and need some serious help. I had to do some work using fullcalendar, I have done everything following the standard procedure. The calendar displays all the events on the correct slots which works fine. Some events needs to be rendered but remain hidden and wait for an event to be shown, so what I did here was only to set the css display attribute to none when hidden and block when visible. So far, everything works perfectly, the problem comes when dragging and event from slot A to slot B, for some odd reason when the drag event starts, the event box should be near the cursor, but it isn’t, the event box is set around 200px below and 100px to the right from the cursor.

I have done some debugging and found that, even though the event box top and left attributes are set correctly (lets say top:300px, left:150px), when the drag event starts, the left value goes to 0px and top goes like 580px. I do not understand why is this happening, what am I doing wrong, or if there is something I should be doing

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T12:00:07+00:00Added an answer on May 18, 2026 at 12:00 pm

    The problem is that FullCalendar uses the jQuery UI’s Position utility to figure out where the events are rendered, and most browsers do a poor job of specifying the top/left on hidden elements. So when you make the events visible, jQuery has no real idea where they are anymore and ends up doing the crazy stuff you see.

    Easiest solution: don’t use CSS to show/hide your events. Use the FullCalendar API to create the event once it should be shown. renderEvent is the thing you want:

    $('#mycalendar').fullCalendar( 'renderEvent', event [, stick ] )
    

    Alternative possibility: additionally specify top: 0px; left: 0px in your CSS that also sets display: none;. Sometimes that tricks Position into working correctly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, I'm stuck, need some help from here on... If I've got a main
I hate to have to ask, but I'm pretty stuck here. I need to
I need some help in fixing the below issue. I had transaction blocks in
Guys i need some help here , im getting this error here at the
Please help, I am stuck here --- irb> a = line of text\n line
Programming Student here...trying to work on a project but I'm stuck. The project is
I'm stuck here again. I have a database with over 120 000 coordinates that
I am brand new to python, and I need some help with the syntax
iI have some trouble getting sth like this to work in java: public class
I'm kind of like stuck trying to implement YUI autocomplete textbox. here's the code:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.