Skip to content

Block Library: Columns: Error when selecting column count before picking a template #16397

Closed

Description

Describe the bug
The Columns block breaks when adjusting the number of columns before selecting a template from the new template picker added in #16129. Relevant to #15663.

To reproduce
Steps to reproduce the behavior:

  1. Add Columns block
  2. Open the block's sidebar settings
  3. Adjust the column count
  4. See error

Expected behavior
The columns RangeControl component should not be available for manipulating, until a template has been chosen. After that point, the control should be present.

Screenshots
columns

Desktop (please complete the following information):

  • OS: MacOS Majave
  • Browser: Safari

Additional context

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

Metadata

Assignees

No one assigned

    Labels

    [Block] ColumnsAffects the Columns Block[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions