?
avatar brianteeman
brianteeman
29 Jan 2015

When messages are displayed in a manager view there is a period where the message is full screen before the sidebar is drawn on screen.

Hard to explain so I made a video
https://www.dropbox.com/s/t3a4pwlqd54qgsg/sidebarbeta1.mp4?dl=0

avatar brianteeman brianteeman - open - 29 Jan 2015
avatar brianteeman
brianteeman - comment - 29 Jan 2015

Just discovered that this is ONLY with debug on


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5928.
avatar dgt41
dgt41 - comment - 29 Jan 2015

@brianteeman Ajaxifying the debug output will solve a lot of problems, the question is who’s up for it?

avatar brianteeman brianteeman - change - 30 Jan 2015
Title
Sidebar and messages
Sidebar and messages in Debug Mode
avatar brianteeman
brianteeman - comment - 30 Jan 2015

Updated the title to show this is only in debug mode


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5928.
avatar brianteeman brianteeman - change - 4 Feb 2015
Labels Added: ?
avatar ggppdk
ggppdk - comment - 7 Feb 2015

I can offer some insight to this,

it is not in Debug Mode only, it is everywhere but it depends on Javascript workload placed on the browser.
It will happen on all pages that place "enough" "document ready" JS workload on the browser

The debug console places a small to very large Javascript workload on the browser
(e.g. if you have >1000 DB queries you can see Javascript timeouts due to Debug console JS)

So because of the little extra (usually) workload placed by debug console, some browsers (e.g. chrome) takes a little extra time to add the CSS class to the sideBar (done by the backend template JS):
(in our case):
j-sidebar-hidden
(also some CSS classes for the content container)

I think (not sure), there is no other clean solution, other than --every view-- checking the sidebar visibility cookie and adding CSS class (an):
j-sidebar-hidden

the above is rather easy to do but it has to be done by every component on every view

Alternative, is to make default CSS in the template the sidebar initially hidden, but i don't think that this is better, of course other solutions maybe there, that i am not aware of

avatar brianteeman brianteeman - change - 16 May 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-05-16 16:28:56
Closed_By brianteeman
avatar brianteeman brianteeman - close - 16 May 2015

Add a Comment

Login with GitHub to post a comment