-
Bug
-
Resolution: Fixed
-
Minor
-
3.1, 3.2
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_31_STABLE
-
MDL-56261-master-taglist -
Only certain maximum amount of tags (10 by default) is displayed via the taglist.mustache template followed by the link "more ..." which is supposed to toggle full display mode.
The link is generated as <a href="#" class="tagmorelink">more ...</a>
Some browsers (such as my Chrome 52.0.2743.82) jump to the top of the page when they are supposed to follow the # anchor href. When links are used for JS purposes like this, they should prevent the default link behavour.
Steps to reproduce
- Edit your profile and fill the description long enough so that the "user details" block will appear outside the screen (hint: http://www.lipsum.com/).
- Provide more than 10 interests tags in your profile.
- Use the more/less toggle widget at your profile display page.
Expected behaviour: The page should not scroll to the top.
Current buggy bevaiour: The page scrolls up to the top.