Bug 261370 - "Book menu" fades but does not appear when clicked on mobile breakpoints
Summary: "Book menu" fades but does not appear when clicked on mobile breakpoints
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Sergio Carlavilla Delgado
URL: https://docs.freebsd.org/en/books/faq/
Keywords: accessibility, needs-qa, regression
Depends on:
Blocks:
 
Reported: 2022-01-21 02:56 UTC by Graham Perrin
Modified: 2022-02-28 19:05 UTC (History)
1 user (show)

See Also:


Attachments
screenshot: Book menu not visible when clicked on mobile breakpoints (32.04 KB, image/png)
2022-01-21 03:02 UTC, Kubilay Kocak
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2022-01-21 02:56:06 UTC
1. At books such as <https://docs.freebsd.org/en/books/dev-model/> or 
   <https://docs.freebsd.org/en/books/faq/>

2. narrow the page until the Book menu button appears

3. click the button

Expected: 

4. a menu

Actual result: 

4. no menu

5. content fades
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2022-01-21 03:01:50 UTC
@Graham Are you able to isolate a commit that introduced the issue?
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2022-01-21 03:02:27 UTC
Created attachment 231202 [details]
screenshot: Book menu not visible when clicked on mobile breakpoints
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-01-21 06:03:50 UTC
(In reply to Kubilay Kocak from comment #1)

I'll try to find it, maybe at the weekend.
Comment 4 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2022-02-28 18:15:01 UTC
Really good catch!
I'll fix it, it's easy :)
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-02-28 19:04:02 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/doc/commit/?id=96597816b4c714683dda2767b14fb44f9d48431b

commit 96597816b4c714683dda2767b14fb44f9d48431b
Author:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
AuthorDate: 2022-02-28 19:01:36 +0000
Commit:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
CommitDate: 2022-02-28 19:01:36 +0000

    Remove mobile book menu in books without menu

    PR:             261370
    Submitted by:   Graham Perrin <grahamperrin (AT) gmail.com>

 documentation/themes/beastie/assets/styles/documentation.scss | 11 +++++++----
 documentation/themes/beastie/layouts/books/list.html          |  2 ++
 documentation/themes/beastie/layouts/books/single.html        |  2 ++
 3 files changed, 11 insertions(+), 4 deletions(-)
Comment 6 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2022-02-28 19:05:25 UTC
Fixed!