[OPEN] [#833] Calendar drag drop problems since svn update

  1. #1

    [OPEN] [#833] Calendar drag drop problems since svn update

    Hi,
    As requested in thread http://forums.ext.net/showthread.php...389#post273389 i am starting a new post for this issue.

    Since a recent SVN update there is a javascript error occurring when dragging an event. Usually occurs when dragging over another event.

    The javascript error is in the Ext.define.getAnchor - unable to get property dom of undefined. The event does not get dropped and the drag info box stays visible.

    This error is in the section "Ext.overrides.util.Positionable"

    You can see this error in the Ext.Net basic calendar example using the latest SVN. Just drag a few events around and you will see what i mean.

    Thanks
    Fergus
  2. #2
    Hello @Fergus!

    Thanks for opening the thread. I've just run the http://localhost:51298/Examples/Cale...c/Default.aspx example here, and I could drag+drop calendar schedules between days both on IE11 and Chrome 43!..

    Can you test it once again? Maybe its already been fixed on the last commit? Currently, the latest revision is 6470.

    As what I did in my test was drag+drop event july eleventh (today) to july 21st, for example. Tried several others, it was just to mention one.

    My testbed is a Windows 8.1 and the above browsers.

    Please test it again and provide us any additional feedback on how should we test the issue to reproduce the bug. I hope its already fixed. :)
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Hi,
    If you open up the basic example that you were on and change to week view.

    Then drag the event "Board Meeting" (Thursday 9th July) onto the event "Lunch with Matt" (Saturday 11th July) i think you might see the error. Drop the event straight onto the other event.

    It almost always happens when you drop onto another event but it sometimes happens when you drag onto an empty space also.

    I am using revision 6470 also.

    It happens in both Chrome v.43 and IE11.

    It seems that in IE11 i can only drag hourly events (i mean i cannot drag all day or multiple day events at all).

    Fergus
  4. #4
    Hello Fergus!

    An GitHub issue was opened to track this issue. Thanks for reporting it! We'll update the github case and here as soon as it is fixed. Some additional information has been gathered there.

    The issue is: #833.
    Fabrício Murta
    Developer & Support Expert
  5. #5
    Hello guys!

    Yeah, Calendar drag&drop doesn't behave well.

    I think I have found a few of related Sencha forum threads.
    https://www.sencha.com/forum/showthread.php?286213
    https://www.sencha.com/forum/showthread.php?298885
    https://www.sencha.com/forum/showthread.php?298583

    I tried a lot of things, but the best one appears to be:
    <ext:CalendarPanel ...>
        <WeekView>
            <CustomConfig>
                <ext:ConfigItem Name="enableFx" Value="false" Mode="Raw" />
            </CustomConfig>
        </WeekView>
    </ext:CalendarPanel>
    I would do the same for the DayView and MonthView. By the way, for MonthView there is a dedicated property - <MonthView EnableFx="false" />.

    Well, it is not the solution, it is only a workaround, but it improves the situation a lot as far as I can see.

    I am afraid that the main problem with Calendar is the Sencha's official position on that matter.
    https://www.sencha.com/forum/showthr...=1#post1076136

    The Calendar example is published in the SDK download, but was authored by the good people at ext.ensible. It is not actually supported by Sencha.

    You can post your questions about the calendar example at:
    http://ext.ensible.com/forum
    But that is not the end of the problem. It really looks like ext.ensible is quite abandoned. I don't see any activity on updating the Calendar to ExtJS 5.

    We try to patch the Calendar, but it is quite a huge component and we really depended on ext.ensible and Sencha on this matter.
  6. #6
    Hi,
    I can confirm that the drag drop issue is a lot better with your fix "enableFx=false".

    As you say it is a workaround but works well enough for now.

    Thanks for that.
    Fergus
  7. #7
    Thank you for the feedback.

    For now, I committed the workaround in our Calendar examples. Just to let others seeing it.

Similar Threads

  1. Replies: 0
    Last Post: Jun 12, 2014, 12:11 PM
  2. Replies: 6
    Last Post: Feb 28, 2014, 4:24 AM
  3. Replies: 1
    Last Post: Aug 26, 2013, 8:34 PM
  4. [CLOSED] [2.1] Ext:Calendar, Disable Drag & Drop
    By FVNoel in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 16, 2013, 6:34 AM
  5. [CLOSED] Problems Modifying Drag and Drop
    By bethc in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 17, 2009, 6:59 PM

Tags for this Thread

Posting Permissions