WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.49k stars 4.18k forks source link

Dragging a block out of the editor breaks the site #17549

Closed maddisondesigns closed 4 years ago

maddisondesigns commented 5 years ago

Describe the bug If I grab a block and drag it outside the editor, the site breaks.

Video: https://cl.ly/5d8d3feb2659

To reproduce Steps to reproduce the behaviour:

  1. Edit a page
  2. Drag a Paragraph block to the left-hand side menu
  3. See site break

Expected behavior The Block should just return to its original position. The site shouldn't break.

Screenshots See above vid.

Desktop (please complete the following information):

ItsJonQ commented 5 years ago

Whoa! That's pretty nuts. I wasn't able to reproduce on my end 🤔

Tested with the latest WP beta install locally on Firefox and Chrome

maddisondesigns commented 5 years ago

Have just updated another site (with a different theme) and was able to replicate the exact same issue with Firefox.

Tried Chrome (77.0.3865.90) on both sites but wasn't able to replicate.

maddisondesigns commented 5 years ago

This still happens in 5.3-RC1-46558. Have also tested with Firefox Developer (v71.0b1) and the same thing happens also.

maddisondesigns commented 4 years ago

Have just tried this again and the issue still occurs with WP5.4

Tested with WP5.4, Firefox 75.0, Twenty-Twenty

noisysocks commented 4 years ago

I was was able to reproduce this in Firefox but not Chrome. Thanks @maddisondesigns!

talldan commented 4 years ago

I can no longer reproduce this in Firefox using Gutenberg 8.6. If anyone else is able to confirm that'd appreciated.

I'll close the issue for now though.

maddisondesigns commented 4 years ago

@talldan Seems to work ok for me now too 👍