Skip to content

Link to internal headers breaks preview #1820

@Bubka

Description

@Bubka

Hi,

Current behavior

A white page is shown in preview when clicking a link to an internal header

boostnote_link_bug

The dev console
image

The only way to have the preview back is to reload the view (ctrl +R)
If i switch between notes after clicking the link the preview skips some CSS:
image

Expected behavior

Preview should scroll to the header

Steps to reproduce

  1. Create a link to a header in the note
  2. Switch to preview mode
  3. Click the link

Environment

  • Version : 0.11.4
  • OS Version and name : Win 7 64b

Related

Seems to be related to #1819

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions