拖动事件时出现 FullCalendar 和 qTip UI 问题

FullCalendar and qTip UI issue when dragging event

在周视图或日视图中拖动事件时。随机地,qtips 将被渲染,旧的仍然在屏幕上。

我一直在使用 api 禁用 qtips,但没有任何结果。以下是我对 fullcalendar 事件呈现事件的 qtip 配置:

eventRender = function (event, element) {
    $(element).qtip(
        {
            content: '<div>Hello, World!</div>',
            position: {
                target: 'mouse', // Track the mouse as the positioning target
                adjust: { x: 5, y: 5 } // Offset it slightly from under the mouse
            },
            style: 'qtip-light'
        }
    );
}

@Ibrahim,使用 eventAfterRender 函数。对我有用。

eventAfterRender: function( event, element, view ) {
    $(element).qtip(
    {
        content: '<div>Hello, World!</div>',
        position: {
            target: 'mouse', // Track the mouse as the positioning target
            adjust: { x: 5, y: 5 } // Offset it slightly from under the mouse
        },
        style: 'qtip-light'
    });
}