jQuery UI Widgets Forums Scheduler Appointment resize bug with absolute div scheduler

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 4 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • Kaddath
    Participant

    Hello,

    Sorry to bother you again, but i experienced a strange behaviour when trying to resize events in a scheduler placed in an absolute positioned div.

    In our UI we have a left menu, and the layout consists of a 100% relative positioned wrapper div with two absolute divs inside. Everything works nicely, except when I try to resize an appointment.

    You will see the “preview” is going a bit wildly off to the right. The mouse position used to calculate the new appointment bounds, on the contrary to the preview, is the correct one, so that it can lead to another issue: if you resize for example the right side of the appointment and go left beyond the beginning of the appointment in the past, it sets an end date which is before the start date, leading to the event disappearing (because end date is before the start date). I can verify in my code that the end date is before the start date because these values are saved as such in our database.

    The example:
    https://jseditor.io/?key=e06f84fefdf211e896c300224d6bfcd5

    Thanks,
    Kaddath


    Hristo
    Participant

    Hello Kaddath,

    Thank you for this feedback.
    I will create a work for this case.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    • This reply was modified 4 years, 11 months ago by  Hristo.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.