Wp-calypso: Stats panel showing over menu on mobile

Created on 8 Feb 2018  ·  9Comments  ·  Source: Automattic/wp-calypso

Steps to reproduce

  1. Log in to Calypso on mobile device/emulator, or resize a desktop browser (Chrome, Firefox) to narrow width
  2. View the site dashboard

What I expected

The dashboard menu to look and work properly

What happened instead

The stats panel is showing over the top

Browser / OS version

Chrome emulator
Chrome/Android
Chrome/Firefox desktop browser with narrow widths

Screenshot / Video

image

Additional

Seems to have started with this commit: dead79441a45004ad60888bdfb6f7aa905e3dd8e

Design Sites [Type] Bug

All 9 comments

It turns out this is a larger issue, possibly going back days or weeks. It's not just stats showing, but other elements from the primary section – for example, Plans:

screen shot 2018-02-08 at 11 45 56 am

As @gwwar pointed out, the real issue seems to be that the primary section shouldn't be rendered for this sidebar view at all (which would cover any later situations of z-index wars between elements and sections).

This seems to affect all mobile browser users.

Could we revert the notifications client update to see whether that helps?

Edit - it seems this isn't an issue in Safari (desktop or mobile) so it wouldn't affect iOS mobile users

@alisterscott I think proceeding with #22271 would be a better approach, since it's not notifications related.

FWIW, I'm unable to reproduce this on Mobile Safari or Google Chrome iOS.

FWIW, I'm unable to reproduce this on Mobile Safari or Google Chrome iOS.

Yes, it doesn't happen using Safari on macOS or any browser on iOS (which use Safari)

@alisterscott ha, you beat me to it 🙃

When no stats appear, the text comes through

screen shot 2018-02-15 at 10 20 28 am

Yup, same type of bug! Basically any elements as a child of the primary div with z-index set will leak through into this view.

The regression I saw with the Reader that led to the revert of #22271 👍

screen shot 2018-02-14 at 4 06 59 pm

To replicate:

  • Click on Reader.
  • Select a post title.
Was this page helpful?
0 / 5 - 0 ratings