Public bug reported:

when you place an anchor into text and jump to it, the anchored text is
not displayed, but you need to scroll a bit up to see it. The anchor
link jumps all the way to the top of the view port. That places the
anchor behind the top header with the logo and the navigation. Instead,
the anchor should take that strip into consideration and display the
text right below it thus effectively making the viewport smaller.

The tricky thing here will be to take into consideration that the height
of the header can vary depending on the site messages that are
displayed.

To replicate:

1. Create a page with a very long text, e.g. created via https://www.lipsum.com
2. Create an anchor in the text in the second paragraph.
3. Link to the anchor further down in the text.
4. Click "Display this page" and scroll down to the link.
5. Click the link.
Expected result: The text to which the anchor points is displayed.
Actual result: A few lines further down from the anchor are visible at the edge 
of the header and the anchor itself needs to be scrolled to as it is hidden by 
the header.

** Affects: mahara
     Importance: High
         Status: Confirmed

** Affects: mahara/19.04
     Importance: High
         Status: Confirmed

** Affects: mahara/19.10
     Importance: High
         Status: Confirmed

** Also affects: mahara/18.10
   Importance: Undecided
       Status: New

** Also affects: mahara/19.10
   Importance: Undecided
       Status: New

** Also affects: mahara/18.04
   Importance: Undecided
       Status: New

** Also affects: mahara/19.04
   Importance: Undecided
       Status: New

** No longer affects: mahara/18.04

** No longer affects: mahara/18.10

** Changed in: mahara/19.04
       Status: New => Confirmed

** Changed in: mahara/19.10
       Status: New => Confirmed

** Changed in: mahara/19.04
   Importance: Undecided => High

** Changed in: mahara/19.10
   Importance: Undecided => High

** Changed in: mahara/19.04
    Milestone: None => 19.04.1

** Changed in: mahara/19.10
    Milestone: None => 19.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1833390

Title:
  Anchor hides behind header

Status in Mahara:
  Confirmed
Status in Mahara 19.04 series:
  Confirmed
Status in Mahara 19.10 series:
  Confirmed

Bug description:
  when you place an anchor into text and jump to it, the anchored text
  is not displayed, but you need to scroll a bit up to see it. The
  anchor link jumps all the way to the top of the view port. That places
  the anchor behind the top header with the logo and the navigation.
  Instead, the anchor should take that strip into consideration and
  display the text right below it thus effectively making the viewport
  smaller.

  The tricky thing here will be to take into consideration that the
  height of the header can vary depending on the site messages that are
  displayed.

  To replicate:

  1. Create a page with a very long text, e.g. created via 
https://www.lipsum.com
  2. Create an anchor in the text in the second paragraph.
  3. Link to the anchor further down in the text.
  4. Click "Display this page" and scroll down to the link.
  5. Click the link.
  Expected result: The text to which the anchor points is displayed.
  Actual result: A few lines further down from the anchor are visible at the 
edge of the header and the anchor itself needs to be scrolled to as it is 
hidden by the header.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1833390/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to