Gutenberg: Sidebar should remain closed on resizing the screen

Created on 28 Jun 2017  路  6Comments  路  Source: WordPress/gutenberg

If I make my screen smaller I get this and lose content area:

2017-06-28 at 11 13

Version: plugin from directory.

Mobile Web [Priority] Low [Type] Bug

Most helpful comment

We probably need to create the concept of layout-focus if we want to improve this (I added a tool like this to calypso early on)鈥攍ayout focus keeps track of what part of the layout is the primary focus at any given point. If you don't open the sidebar manually, then focus should be set to content, which would mean on mobile breakpoints it can be hidden. On desktop, even if sidebar is not focused it can be opened (initial load).

All 6 comments

Noticed the same. The post settings can be closed though and you can continue writing. Although the UX isn't ideal.

There are few more issues with the responsive design though, see #1514 for example. Perhaps we can fix some of them at once?

If you refresh the page, the settings will be closed by default. Thus, I don't think this is a bug because regular users don't resize their browsers to check responsiveness.

What if you switch your tablet from portrait to landscape mode, move the browser window from one screen to another (smaller) one, or just resize it because your 27-inch iMac screen is just too large to have fullscreen windows?

We probably need to create the concept of layout-focus if we want to improve this (I added a tool like this to calypso early on)鈥攍ayout focus keeps track of what part of the layout is the primary focus at any given point. If you don't open the sidebar manually, then focus should be set to content, which would mean on mobile breakpoints it can be hidden. On desktop, even if sidebar is not focused it can be opened (initial load).

@youknowriad I actually disagree, mainly because I discovered this because I use a 13" macbook and the not having a full size window can easily create this issue.

A simple step for this would be to avoid this:

m1

Having as default settings closed (on first load):

m2

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aduth picture aduth  路  3Comments

mhenrylucero picture mhenrylucero  路  3Comments

franz-josef-kaiser picture franz-josef-kaiser  路  3Comments

davidsword picture davidsword  路  3Comments

jasmussen picture jasmussen  路  3Comments