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

    • Testing Instructions:
      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  
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
    • Pull Master Branch:
      MDL-64894-master

      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

              Assignee:
              brendanheywood Brendan Heywood
              Reporter:
              trishamilan Trisha Milan
              Peer reviewer:
              Damyon Wiese
              Integrator:
              David Monllaó
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Bas Brands
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                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