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

    • 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  

      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

        1. image-2019-02-20-09-25-26-063.png
          119 kB
          Brendan Heywood
        2. image-2019-04-15-14-05-23-469.png
          33 kB
          Janelle Barcega
        3. Section7-expanded.png
          26 kB
          Trisha Milan
        4. section8.png
          39 kB
          Trisha Milan

            brendanheywood Brendan Heywood
            trishamilan Trisha Milan
            Damyon Wiese Damyon Wiese
            David Monllaó David Monllaó
            Janelle Barcega Janelle Barcega
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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