Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange reaction for Anchor in Settings with menu tab #248

Closed
algorys opened this issue Sep 6, 2016 · 3 comments
Closed

Strange reaction for Anchor in Settings with menu tab #248

algorys opened this issue Sep 6, 2016 · 3 comments

Comments

@algorys
Copy link

algorys commented Sep 6, 2016

Description

If I'm in settings page (http://wiki.com/doku.php?id=accueil&do=admin&page=config) for the first time, when I clicked on a link in page menu, it'll no go to the correct place.

Expected behavior: Normally click on page menu give me to the choosen settings.

Actual behavior: Actually, if I click on a link in page menu, it will go randomly in settings page. It seems, it only appears at the first display of this page, when I reopen page menu and click again on a link, it works fine...

Versions

  • [Bootstrap3 Template] last one
  • [DokuWiki] Elenor of sort.
  • [Plugins] see screenshot below.
  • [Browser] Chrome v53.0.2785.89 (on Linux)

Screenshots

  • If I click on TemplatePageName

capture du 2016-09-06 10-26-32

  • I go here...

capture du 2016-09-06 10-26-50

Thanks for help.

@Digitalin
Copy link

Hi,
I have noticed the same behaviour. It goes below the anchor, so need to scroll up to display the wanted section.
A Lotar's Zen side, I guess : always let some imperfection in your art 😄

giterlizzi added a commit that referenced this issue Sep 7, 2016
@giterlizzi
Copy link
Owner

Hi! The problem is tocCollapseOnScroll config. During the scroll the TOC start closing and the page is automatically resized.

** Call for testing **

I have created a trigger for close the TOC after anchor click and before scrolling the page.
This patch is in dev branch.

@polyzen
Copy link
Contributor

polyzen commented Sep 10, 2016

Your fix does the job. 👍

@giterlizzi giterlizzi added this to the v2016-10 milestone Sep 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants