Wp-calypso: Themes: Sidebar overlapping when viewing themes

Created on 24 Jan 2018  路  5Comments  路  Source: Automattic/wp-calypso

Steps to reproduce

  1. Starting at URL: http://calypso.localhost:3000/themes/:site
  2. Make sure screen is at least 660px in width
  3. Remove the /:site from the URL manually in the address bar and hit enter

What I expected

I expected a similar screen to layout when the :site is specified in the URL
screen shot 2018-01-23 at 3 24 17 pm

What happened instead

  1. For a brief moment, while the page is still loading, I see this in the window:
    split second

  2. After the page fully loads, I see this:
    screen shot 2018-01-23 at 3 28 28 pm
    It appears that the sidebar is overlapping the themes to be chosen, and the search bar is overlapping the sidebar.

Browser / OS version

Replicated in both Google Chrome and Firefox

Context / Source

I'm not 100% sure how you could reach this URL without manipulating the address bar, as there doesn't appear to be a menu item or link that will allow you to choose a new theme while no one theme is specified.

Originally reported by @simison in #20378, as an additional issue. @folletto recommended a separate ticket for this.

Themes [Type] Bug

All 5 comments

Is it possible this is only an issue in local Calypso development? I couldn't reproduce it at https://wordpress.com/themes even when I slowed down my network considerably.

I'm not 100% sure how you could reach this URL without manipulating the address bar

I got here with these steps:

  1. Visit this URL: https://wordpress.com/
  2. Select "My Sites" (while logged in to an account with multiple sites).
  3. Select "Switch Site" in the sidebar.
  4. Select "All My Sites" in the sidebar.
  5. Select "Themes."

I then did hard refreshes at different network speeds but couldn't reproduce the issue as described (testing on wordpress.com, not in Calypso local development).

Is it possible this is only an issue in local Calypso development?

Yes, I think it is.
I asked to open a separate issue so I can link this thread to a dev and ask to cross-check. :)

Yeah, we introduced that with the React 16 upgrade. Related to the old auth/cookies issue in dev, and made visible by a change in how React 16 reconciles server- vs client-rendered layouts 馃槙

Edit: To be clear: Confirmed, only in dev.

Thanks @rachelmcr @ockham @folletto

Should this ticket be closed, then?

It's something that should not be broken, but I think it's not trivial to fix. I'd close for now, it's still useful for this issue to exist so it's searchable for the future. :)

Was this page helpful?
0 / 5 - 0 ratings