Skip to content

Make it easier to deselect a block #3712

Closed

Description

@jasmussen

If you have a very brief post, clicking below the post no longer deselects the block:

can t select no metaboxes

This is likely a regression from the inline metaboxes. Previously the block container was at minimum 100% tall, meaning you could always click below the blocklist on short posts. Now it can't be 100% tall because there can be metaboxes:

can t select no metaboxes

The problem, likely, is that it's the block container that registers clicks as de-selects. Should we expand that so clicking anywhere outside the block itself deselects it?

Activity

  1. aduth commented on Nov 29, 2017

    @aduth
    Member

    Should we expand that so clicking anywhere outside the block itself deselects it?

    One complication here is that we need the block to remain selected in some cases when clicking outside:

    • Toolbar buttons
    • Sidebar inspector
  2. jasmussen commented on Nov 29, 2017

    @jasmussen
    ContributorAuthor

    Another option is to distinguish between whether you have metaboxes or not, so we can at least have a 100% tall canvas if you don't have metaboxes. I also noticed that clicking left and right of the title block did not deselect blocks.

  3. aduth commented on Jan 10, 2018

    @aduth
    Member

    Technically a duplicate of #2322

  4. jasmussen commented on Jan 10, 2018

    @jasmussen
    ContributorAuthor

    Closing on favor of that, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions