Selecting 'Disabled' does not move the block to the disabled region when there are no disabled blocks

Created on 20 January 2014, almost 11 years ago
Updated 23 May 2023, over 1 year ago

Problem/Motivation

Followup from #1039666: Placing a block in a region via select dropdown moves it to the top of the region, but it will show at the bottom

When there are no blocks in the last region (that would be the Disabled region), you can't move a block to that region using the 'Region' select drop-down.

Target region has blocks:

Target region is empty:

Steps to reproduce

  1. Move all blocks from the last region (Disabled) to other regions.
  2. Move one block back to the last region using the region select drop-down.

Proposed resolution

Fix the block placement in the last region (eg. Disabled) when there are no blocks in that region.

Remaining tasks

  1. Write a patch
  2. Review

User interface changes

When selecting 'Disabled' in a block region, the block is placed in the 'Disabled' region.

API changes

None

🐛 Bug report
Status

Fixed

Version

7.0 ⚰️

Component
Block 

Last updated about 20 hours ago

Created by

🇭🇺Hungary czigor

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024