- edited description
Sticky navbar and section anchors
Hi folks,
We can see a issue when the navbar is set to be sticky and you then use a link to a section / anchor, part way down a page.
On clicking such a link the response is that the page goes to the required section, but the title of section appears off the page.
Switching the sticky navbar off and this then works correctly, showing the section title at the top of anchor point.
Any ideas?
We think it is off by the exact amount of pixels which is the height of the sticky navbar.
This is on Adaptable 1.7 on Moodle 3.4.3
See your moodle instance with the following formed URL: https://moodle/course/view.php?id=100#section-2
If this could be fixed we'd be very grateful.
Best regards, Ray Reid.
Comments (9)
-
reporter -
Hi,
Ok we'll take a look.
Thanks,
M
-
reporter - edited description
-
reporter Thanks Manoj, if you need any extra information, let me know.
I've just corrected the original issue, there were some grammatical errors.
Regards, Ray.
-
- changed status to resolved
Fix
#919. So far tested on latest Chrome and Firefox at time of writing.→ <<cset 296dbf1347ae>>
-
Correct display issue and remove unneeded javascript. Part of fix
#919.→ <<cset 7385f89e30ef>>
-
Hi Raymond,
I made some changes to fix this. I wouldn't say it's a 100% complete fix but it seems to work in most scenarios. Are you able to get the latest version directly from here in Bitbucket and test it on a test system at all?
Thanks,
M
-
reporter Hi Manoj, I've just taken your changes and applied them to our test site.
All seems to be working well. I'll get a few testers on it and if all is good will push that out to our production site next week.
Thanks again, Ray.
-
reporter Hi Manoj,
We are going with the fix, but we have noticed that more times than not it appears like in the screenshot
I'd still say it needs a slight tweak.
Many thanks, Ray Reid.
- Log in to comment