Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
richtabor opened this issue Jul 2, 2019 · 1 comment
Labels
[Block] Columns Affects the Columns Block [Type] Bug An existing feature does not function as intended

Comments

@richtabor
Copy link
Member

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
@richtabor richtabor changed the title Block Library: Column: Error when selecting column count before picking a template Block Library: Columns: Error when selecting column count before picking a template Jul 2, 2019
@Soean Soean added [Block] Columns Affects the Columns Block [Type] Bug An existing feature does not function as intended labels Jul 2, 2019
@Soean
Copy link
Member

Soean commented Jul 2, 2019

Thanks @richtabor for reporting this issue, seems like a duplicate of #16343

@Soean Soean closed this as completed Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Columns Affects the Columns Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants