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

Items above anchor targets are not clickable using Boost theme (eg in collapsible topics)

    XMLWordPrintable

Details

    • MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • MOODLE_35_STABLE, MOODLE_36_STABLE
    • MDL-64894-master
    • Hide

      Setup

      1. Create a course using topics format
      2. Make sure your site is using the Boost theme
      3. Login as a teacher in a course

      Test

      1. Go to the course home page
      2. Click on a topic name
      3. Verify the page scrolls to that topic
      4. Verify the start of the topic is visible below the fixed page header.
      5. Verify you can click on the activity immediately before the topic we scrolled to

       

      Show
      Setup Create a course using topics format Make sure your site is using the Boost theme Login as a teacher in a course Test Go to the course home page Click on a topic name Verify the page scrolls to that topic Verify the start of the topic is visible below the fixed page header. Verify you can click on the activity immediately before the topic we scrolled to  

    Description

      Steps to replicate:

      1. Create a course
      2. Use 'Collapsed Topics' course format
      3. Go to a url with hash like this /course/view.php?id=2#section-8
      4. Notice that the section preceeding Section 8 is not expanding. In fact no clicks or hovers happen at all above the topic which is the current hash anchor target

      This is easily visible if you open the dev tools and give the ::before pseudo element a background color

      Attachments

        Issue Links

          Activity

            People

              brendanheywood Brendan Heywood
              trishamilan Trisha Milan
              Damyon Wiese Damyon Wiese
              David Monllaó David Monllaó
              Janelle Barcega Janelle Barcega
              Huong Nguyen, Bas Brands, Mathew May, Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/May/19

                Time Tracking

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