Open becka11y opened 8 years ago
Yes, this is (currently) a feature :)
Although I imagine this is probably not the most intuitive UX (?)
Why would it be a feature? I.e. why should the behaviour of the toolbar be different when the TOC is open or closed? But perhaps you are just kidding... :-)
FYI - it seems a conscious decision was made to NOT hide the toolbar when the TOC is open: var hideUI = function(){ hideTimeoutId = null; // don't hide it toolbar while toc open in non-embedded mode if (!embedded && $('#app-container').hasClass('toc-visible')){ hideLoop() return; }
in epubReader.js.
I'm guessing that decision was made to avoid having to deal with filling the background above the ToC when the toolbar hides(see the image)
When the table of contents is visible the toolbar does not autohide nor can it be hidden using the keyboard shortcut, x.
This issue is a Bug
It could be debated that this is a feature. We just need to decide and document it properly.
Expected Behavior
Normally the toolbar will autohide after 6-10 seconds unless focus is on one of the buttons. If the toolbar is visible and focus is not on a button in the toolbar, it can be hidden by pressing the keyboard shortcut, x.
Observed behaviour
When the table of contents is open neither of these mechanisms work and the toolbar can not be hidden.
Steps to reproduce
Test file(s)
Product