Block editor crash when resizing to mobile view
-
When creating a new post, or editing a draft, the block editor crashes when resizing the window to the mobile view.
This issue does not exist when using the classic editor.
Steps to reproduce:
1. Start a plain fresh WP install.
2. Go to create a new post.
3. Add a title and some dummy content to trigger the autosave.
4. Reduce the screen width to 599px or less.JS Stack Trace:
Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. at Dh (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:133:303) at Aj (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:158:298) at unstable_runWithPriority (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25:260) at Da (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60:280) at ab (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:154:190) at Te (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146:355) at https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61:68 at unstable_runWithPriority (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25:260) at Da (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60:280) at Pg (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61:14)
PHP Stack Trace:
in array_intersect_key called at /wp-includes/rest-api/class-wp-rest-server.php (1436) in WP_REST_Server::get_data_for_route called at /wp-includes/rest-api/class-wp-rest-server.php (1358) in WP_REST_Server::get_data_for_routes called at /wp-includes/rest-api/class-wp-rest-server.php (1224) in WP_REST_Server::get_index called at /wp-includes/rest-api/class-wp-rest-server.php (1140) in WP_REST_Server::respond_to_request called at /wp-includes/rest-api/class-wp-rest-server.php (987) in WP_REST_Server::dispatch called at /wp-includes/rest-api.php (495) in rest_do_request called at /wp-includes/rest-api.php (2832) in rest_preload_api_request called at ? (?) in array_reduce called at /wp-includes/block-editor.php (444) in block_editor_rest_api_preload called at /wp-admin/edit-form-blocks.php (68) in require called at /wp-admin/post.php (187)
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Block editor crash when resizing to mobile view’ is closed to new replies.