-
Bug
-
Resolution: Won't Fix
-
Low
-
None
-
5.7.4
-
3
-
Severity 3 - Minor
-
Steps to reproduce:
1. View a page in the doc theme where the contents of the sidebar require a scrollbar
2. Collapse the sidebar using the keyboard shortcut ([)
3. Attempt to expand the sidebar using the same shortcut - it doesn't work!
Was able to reproduce in IE9, could potentially be a bug in other versions too.
This bug is caused by the fact that the width of sidebar is being incorrectly reported by IE as 17px (the width of the scrollbar). In our code, we determine whether to expand or collapse the doc theme sidebar as follows (from doc-theme.js):
splitterButton.removeClass("hidden") .click(function(){ if(splitterSidebar.width() > 0){ splitterDiv.trigger("resize", [ 0 ]); AJS.$(this).addClass("collapsed"); } else{ splitterDiv.trigger("resize", [ 300 ]); AJS.$(this).removeClass("collapsed"); } return false; })
- is duplicated by
-
CONFSERVER-27374 Sidebar in Documentation Theme
-
- Closed
-
-
CONFSERVER-29849 Sidebar collapse/expand does not work with [
-
- Closed
-
-
CONFSERVER-29850 "toggle sidebar"-button on top right does not work (properly)in IE9 when using Documentation Theme in Confluence 5.1.2
-
- Closed
-
-
CONFSERVER-35944 Show sidebar doesn't work with IE11
-
- Closed
-