Skip to content

Sortable breaks term edit screen UI #899

Description

@dlh01

Description of the bug

Adding a sortable group to the edit-term screen causes the drag handler to take up the entire height of the screen, blocking access to other fields and making the handler itself nearly impossible to use.

Steps To Reproduce

Example field definition:

$editorial_board = new Fieldmanager_Group(
	[
		'name'           => 'example_issue_editorial_board',
		'add_more_label' => __( 'Add Group', 'example' ),
		'children'       => [
			'title'   => new Fieldmanager_TextField(
				[
					'label' => __( 'Title', 'example' ),
				],
			),
			'content' => new Fieldmanager_TextArea(
				[
					'label' => __( 'Content', 'example' ),
				],
			),
		],
		'limit'          => 0,
		'sortable'       => true,
	],
);
$editorial_board->add_term_meta_box( __( 'Editorial Board', 'example' ), 'example_magazine_issue' );

Additional Information

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions