The CSS class toolbar-no-flickering is added to the HTML element whether or not the toolbar actually appears. As a result, anonymous users who don't have permission to use the toolbar see 79px of whitespace at the top of the page.

A simple way to mitigate this issue would be to check if the user has access to the toolbar first. This doesn't fix the issue completely as there may be users who can access the toolbar but see the whitespace on pages without the toolbar, but that's a much more desirable problem than anonymous users seeing it.

I've attached a patch that does what I said in my suggestion.

Comments

jamiehollern created an issue. See original summary.

jamiehollern’s picture

StatusFileSize
new781 bytes
droplet’s picture

Version: 8.x-1.1 » 8.x-1.3
Status: Active » Fixed

Thanks. Reminded me to push my local code. Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.