Jump to content

Using tunicalendarpanel on mobile


KingOrmon

Recommended Posts

  • 3 weeks later...
On 4/14/2023 at 9:29 PM, KingOrmon said:

i use desktop unigui for mobile too

i need add listener to event for mobile when finger try to scroll in calendar panel does no work. You can scroll with finger on calendar when don’t touch an event. 

Solved with this approach (dirty workaround)

function afterrender(sender, eOpts)
{
    sender.getEl().dom.addEventListener("DOMNodeInserted", function (ev) {
        Ext.select('.x-calendar-event').elements.forEach(function(item){item.setAttribute('data-exttouchaction', -1)})
    }, false);
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...