-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Mobile App - i.e. Android or iOSNative mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
After adding a Shortcode block, switching dark mode on and then off produces a crash. I checked this behaviour with the rest of blocks and looks like it only happens with this one.
I also tested on production version 16.7
and it's also happening here so it's not a new regression.
Step-by-step reproduction instructions
- Add a Shortcode block.
- Enable dark mode.
- Disable dark mode.
- Observe that the app crash.
Expected behaviour
Switching dark mode on/off shouldn't produce a crash.
Actual behaviour
Switching dark mode on/off should update the styles as expected.
Screenshots or screen recording (optional)
shortcode-dark-mode-crash-android.mp4
WordPress information
- WordPress version: 16.9
- Gutenberg version: N/A
- Are all plugins except Gutenberg deactivated? N/A
- Are you using a default theme (e.g. Twenty Twenty-One)? N/A
Device information
- Device: iPhone 11
- Operating system: iOS 14.2
- WordPress app version: 16.9
Metadata
Metadata
Assignees
Labels
Mobile App - i.e. Android or iOSNative mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended