Skip to content

Page navigation does not work on mobile devices #1454

@cnfw

Description

@cnfw

Describe the bug
When viewing a page on a mobile device, page navigation in the "Info" tab does not work as it does on a desktop device.

Steps To Reproduce
Steps to reproduce the behaviour:

  1. Open a page with a number of headings so that it has a structure.
  2. Tap on the "Info" tab
  3. Tap on any element of the page navigation section

Expected behaviour
I would expect to be brought back to the content tab to the desired bookmark.

Screenshots
N/A

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): v0.26.0
  • PHP Version: 7.2
  • Hosting Method (Nginx/Apache/Docker): Docker

Additional context
When going directly to a link containing an anchor on the end, you are brought to the correct place on mobile so you can get around this bug by clicking on the desired heading in page navigation, then refreshing the tab.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions