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

Column block can be moved in itself #13701

Closed
Zodiac1978 opened this issue Feb 6, 2019 · 3 comments · Fixed by #13941
Closed

Column block can be moved in itself #13701

Zodiac1978 opened this issue Feb 6, 2019 · 3 comments · Fixed by #13941
Labels
[Block] Columns Affects the Columns Block [Feature] Drag and Drop Drag and drop functionality when working with blocks [Type] Bug An existing feature does not function as intended
Milestone

Comments

@Zodiac1978
Copy link

Describe the bug
I moved accidentally the column block in itself. The editor crashes an error message I can't fully read because it redirects me to "about:blank".

To Reproduce
Steps to reproduce the behavior:

  1. Add column block
  2. Do not add any blocks to the columns
  3. Move the column block in one of the column spaces
  4. BOOM.

Expected behavior
I should not be able to move the column block in itself.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: macOS High Sierra 10.13.6
  • Browser: Firefox
  • Version 65

Additional context
WordPress 5.0.3

@Soean Soean added the [Block] Columns Affects the Columns Block label Feb 7, 2019
@gziolo gziolo added [Feature] Drag and Drop Drag and drop functionality when working with blocks [Type] Bug An existing feature does not function as intended labels Feb 8, 2019
@gziolo gziolo added this to the WordPress 5.x milestone Feb 8, 2019
@Naerriel
Copy link
Contributor

Naerriel commented Feb 8, 2019

I can't reproduce this bug neither on Chromium nor on Firefox.

Is this what you mean by moving the column block in itself?
image

Desktop

  • OS: Ubuntu 16.04.4
  • Browsers: Firefox 64 and Chromium 71.

Can somebody with macOS confirm, please?

@Zodiac1978
Copy link
Author

It looks like there have to be a block before. Here you can see the bug in action:
column-bug

@Naerriel
Copy link
Contributor

Naerriel commented Feb 9, 2019

Thank you, I was able to reproduce the issue.
I will see what can be done. 😄

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 [Feature] Drag and Drop Drag and drop functionality when working with blocks [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants