Support » Plugin: Simple Page Ordering » Prevent cell collapsing on drag

  • Resolved Thomas Griffin

    (@griffinjt)


    I was using this plugin for some site and noticed that the table cells collapse when dragging the page elements for ordering.

    This is a relatively easy fix if you are interested – you would just add this as one of the object properties passed to the sortable method:

    helper: function(e, ui) {
        ui.children().each(function() {
            jQuery(this).width(jQuery(this).width());
        });
        return ui;
    }

    and that fixes the collapse issue. Nothing major, but makes it look cleaner. 🙂

    https://wordpress.org/plugins/simple-page-ordering/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Prevent cell collapsing on drag’ is closed to new replies.