WordPress.org

Forums

Simple Page Ordering
[resolved] Prevent cell collapsing on drag (2 posts)

  1. Thomas Griffin
    Member
    Posted 1 year ago #

    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/

  2. Jake Goldman
    10up Engineer
    Plugin Author

    Posted 1 year ago #

    Integrated a more performant variant of this in 2.2.2. :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Page Ordering
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.