WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#40147 new defect (bug)

Screens intermittently blank-until-scroll in RTL mode

Reported by: claudiulodro Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:
PR Number:

Description

This stems from an issue filed in WooCommerce: https://github.com/woocommerce/woocommerce/issues/13561

In RTL mode, pages will be blank until the window is scrolled or resized. This only happens in Chrome and it happens intermittently and primarily on admin pages (edit-posts, nav-menu, plugins, etc). I've verified this behavior on both existing sites using the RTL Tester plugin and on a fresh, Arabic WP install with no plugins. I can reproduce this on any default (2012-2017) theme.

To reproduce on an existing site:

  1. Install and activate the RTL Tester plugin.
  2. Switch to RTL mode.
  3. Open an admin page (plugins.php, etc.) in Chrome.
  4. Refresh the page repeatedly.

To reproduce on a new site:

  1. Create new Arabic-language site.
  2. Open an admin page (plugins.php, etc.) in Chrome.
  3. Refresh the page repeatedly.

I've also been able to reproduce this on frontend pages (e.g. search results, "Hello World", etc.), but it seems to happen less often.

Attachments (1)

Screen Shot 2017-03-13 at 10.57.39 AM.png (117.6 KB) - added by claudiulodro 3 years ago.
Screenshot of issue

Download all attachments as: .zip

Change History (3)

@claudiulodro
3 years ago

Screenshot of issue

#1 @SergeyBiryukov
3 years ago

  • Focuses rtl added

#2 @ocean90
3 years ago

  • Component changed from I18N to General
  • Focuses rtl removed
  • Version 4.7.3 deleted

I can confirm that Chrome sometimes shows a white screen on RTL languages. It's not specific to WordPress. Scrolling a bit makes the page visible.

Possible workaround http://stackoverflow.com/q/34184377/3507335.

Note: See TracTickets for help on using tickets.