Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83729

Book TOC drawer stutters when navigating to next chapter on narrow screen

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 4.4.4
    • Book, Themes

      When viewing a Book chapter on a narrow screen, if you click the right arrow to view the next chapter, the TOC drawer begins to close.

      This seems to be due to theme/boost/amd/src/drawers.js preventCoveringFocusedElement()

      It seems that if the focussed element is within THRESHOLD (set to 20px) of the TOC drawer, the draw is closed.  There is a padding on the page that may normally cover this, but the chapter right arrow extends into the padding.

            james-cnz James E. Calder
            james-cnz James E. Calder
            Laurent David Laurent David
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 9 minutes
                1h 9m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.