Recent update breaks select2 elsewhere

Home Forums Calendar Products Events Calendar PRO Recent update breaks select2 elsewhere

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1384057
    papertower
    Participant

    Had the same issue as this thread: https://theeventscalendar.com/support/forums/topic/select2-js-messes-up-our-custom-code-and-filter-bar-disappears/

    Also touches back on a thread we made a while back: https://theeventscalendar.com/support/forums/reply/1214078/

    Not sure what was changed regarding select2 in the plugin in the most recent updates, but it broke select2 every where else on the site. It looks like you’re using your own tribe-select2 package. If you’re going to make something unique, please change your selectors as not to break existing select2 code which assumes that a normal select2 is actually being used.

    With that, it would also be great if TEC only enqueued the select2 script/styles on the relevant admin screens. I’m not sure why they’re loaded every time.

    #1384345
    Jacob Masters
    Participant

    Seeing the same issue, select2 is breaking the ajax in my admin where ever else a select is used, temporary solution is to just disable it everywhere:

    function tribe_dequeue_script_example() {
    wp_deregister_script( ‘tribe-select2’ );
    }
    add_action( ‘wp_enqueue_scripts’, ‘tribe_dequeue_script_example’, 100 );

    add_action( ‘admin_enqueue_scripts’, ‘tribe_dequeue_script_example’, 100 );

    #1384764
    Stephen Bromham
    Participant

    The latest 4.6 update appears to have messed up WooCommerce Product Data tabs – they don’t work anymore. Click on them to display settings and nothing happens. Also WordPress screen options are no longer accessible in WordPress admin pages. The 4.6 update removed select2 folder in favour of a tribe-select2 folder. This temporary solution offered hasn’t worked for us.

    #1384977
    Patricia
    Member

    Hi guys,

    Thank you for reaching out to us!

    Unfortunately, this is a known issue with the select2 library that causes conflicts with some plugins that also use it. The good news is we released a fix for this issue today: please update The Events Calendar to version 4.6.5 and let us know if everything works as expected after that!

    Thanks for your understanding and patience and if you have any other questions, please let me know and I’ll be happy to assist!

    Best Regards,

    Patricia

    #1401369
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Recent update breaks select2 elsewhere’ is closed to new replies.