You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Contextual block toolbar: Move below the block when bumping against the top edge #29464
Mostly in the site editor, if you select a block close to the top of the screen, it bumps against the screen edge and gets pushed downwards, covering content:
What is your proposed solution?
In those cases, show the block toolbar below the block:
We might need an additional heuristic, that still shows the toolbar above the block if the block is taller than, say, 300px.
changed the title [-]Contextual block toolbar: Move below the block when bumping against the top edte[/-][+]Contextual block toolbar: Move below the block when bumping against the top edge[/+]on Mar 2, 2021
Noting here that this same problem occurs in template editing mode (not sure how much code is shared between the site editor and template editing mode). Edited to add a quick video:
Noting that this will be a frequent issue for header template parts, since they'll often be the first block included on the page. Currently, the block toolbar completely hides the arrows in the patterns carousel for that block's placeholder:
Activity
[-]Contextual block toolbar: Move below the block when bumping against the top edte[/-][+]Contextual block toolbar: Move below the block when bumping against the top edge[/+]annezazu commentedon May 7, 2021
Noting here that this same problem occurs in template editing mode (not sure how much code is shared between the site editor and template editing mode). Edited to add a quick video:
navigation.block.squished.mov
ellatrix commentedon May 21, 2021
I think the same dark padding as the template editor would be a nice solution.
kjellr commentedon May 26, 2021
Noting that this will be a frequent issue for header template parts, since they'll often be the first block included on the page. Currently, the block toolbar completely hides the arrows in the patterns carousel for that block's placeholder:
jasmussen commentedon Aug 25, 2021
🔥