Wordpress-android: Unsupported block bottom sheet is triggered when device is rotated

Created on 3 Oct 2020  路  3Comments  路  Source: wordpress-mobile/WordPress-Android

Expected behavior

When a post that contains an unsupported block is open in the block editor, rotating the device shouldn't cause a bottom sheet to appear.

Actual behavior

When a post that contains an unsupported block is open in the block editor, rotating the device causes a bottom sheet to appear.

Steps to reproduce the behavior

  1. Open the block editor on a post that contains an unsupported block (e.g. Audio is a block that's not yet supported on mobile at time of writing)
  2. With the editor open, rotate the device and notice the bottom sheet appears
Tested on Samsung S10, Android 10, WPAndroid 15.7
Gutenberg [Type] Bug gutenberg-mobile

Most helpful comment

Related and probably the same issue as https://github.com/wordpress-mobile/gutenberg-mobile/issues/2680. Leaving both open until those get investigated. @marecar3 please check out both of these issues, thanks!

All 3 comments

The fix should be the same as what was done for the Reusable block component, see here.

Related and probably the same issue as https://github.com/wordpress-mobile/gutenberg-mobile/issues/2680. Leaving both open until those get investigated. @marecar3 please check out both of these issues, thanks!

Related and probably the same issue as wordpress-mobile/gutenberg-mobile#2680. Leaving both open until those get investigated. @marecar3 please check out both of these issues, thanks!

Thanks, @hypest, I will prioritize it.

Was this page helpful?
0 / 5 - 0 ratings