Changing themes does not immediately invalidate theme editor color cache #36152
Labels
Mobile App - i.e. Android or iOS
Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
Description
When switching from a block-based theme to a non-block-based theme, the editor will continue displaying the previous themes colors in the editor until refreshed site data is manually fetched. This appears to occur on both iOS and Android. It also occurs in the opposite direction, i.e. block-based theme to non-block-based theme. Possibly related to #33608.
Step-by-step reproduction instructions
Expected behaviour
The editor displays the default background and text colors.
Actual behaviour
The editor displays the previously selected theme's background and text colors.
Screenshots or screen recording (optional)
stale-theme-editor-colors.MP4
WordPress information
Device information
The text was updated successfully, but these errors were encountered: